single AppImage file

- simplify cmake install prefix and assets directory
This commit is contained in:
ReenigneArcher
2022-08-12 19:26:17 -04:00
parent 9a95ce5132
commit 8b0e6a28c2
8 changed files with 155 additions and 69 deletions

View File

@@ -911,7 +911,7 @@ int parse(int argc, char *argv[]) {
}
if(!fs::exists(sunshine.config_file)) {
fs::copy_file(SUNSHINE_ASSETS_DIR "/sunshine.conf", sunshine.config_file);
std::ofstream { sunshine.config_file }; // create empty config file
}
auto vars = parse_config(read_file(sunshine.config_file.c_str()));