sunshine.conf and apps.json on user's home config dir (#269)

This commit is contained in:
istori1 2022-08-05 20:47:21 -04:00 committed by GitHub
parent b7ef109d95
commit d38392aea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View File

@ -90,7 +90,7 @@ modules:
- /share/ffmpeg/examples - /share/ffmpeg/examples
sources: sources:
- type: archive - type: archive
url: https://ffmpeg.org/releases/ffmpeg-4.4.2.tar.xz url: http://archive.ubuntu.com/ubuntu/pool/universe/f/ffmpeg/ffmpeg_4.4.2.orig.tar.xz
sha256: af419a7f88adbc56c758ab19b4c708afbcae15ef09606b82b855291f6a6faa93 sha256: af419a7f88adbc56c758ab19b4c708afbcae15ef09606b82b855291f6a6faa93
modules: modules:
- name: vmaf - name: vmaf

View File

@ -20,7 +20,7 @@ using namespace std::literals;
#define PRIVATE_KEY_FILE CA_DIR "/cakey.pem" #define PRIVATE_KEY_FILE CA_DIR "/cakey.pem"
#define CERTIFICATE_FILE CA_DIR "/cacert.pem" #define CERTIFICATE_FILE CA_DIR "/cacert.pem"
#define APPS_JSON_PATH SUNSHINE_CONFIG_DIR "/apps.json" #define APPS_JSON_PATH platf::appdata().string() + "/apps.json"
namespace config { namespace config {
namespace nv { namespace nv {
@ -286,14 +286,14 @@ input_t input {
}; };
sunshine_t sunshine { sunshine_t sunshine {
2, // min_log_level 2, // min_log_level
0, // flags 0, // flags
{}, // User file {}, // User file
{}, // Username {}, // Username
{}, // Password {}, // Password
{}, // Password Salt {}, // Password Salt
SUNSHINE_CONFIG_DIR "/sunshine.conf", // config file platf::appdata().string() + "/sunshine.conf", // config file
{}, // cmd args {}, // cmd args
47989, 47989,
}; };