mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-21 10:20:52 +00:00
sunshine.conf and apps.json on user's home config dir (#269)
This commit is contained in:
parent
b7ef109d95
commit
d38392aea0
@ -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
|
||||||
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user