The path to file_apps is now configurable

This commit is contained in:
loki
2019-12-16 22:02:21 +01:00
parent f499d25853
commit 3729e74930
4 changed files with 12 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ int main(int argc, char *argv[]) {
config::parse_file(argv[1]);
}
auto proc_opt = proc::parse(SUNSHINE_ASSETS_DIR "/apps.json");
auto proc_opt = proc::parse(config::stream.file_apps);
if(!proc_opt) {
return 7;
}