mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-21 07:40:36 +00:00
Load host specific settings from configuration file
This commit is contained in:
@@ -177,6 +177,10 @@ int main(int argc, char* argv[]) {
|
||||
exit(-1);
|
||||
}
|
||||
}
|
||||
|
||||
char host_config_file[128];
|
||||
sprintf(host_config_file, "hosts/%s.conf", config.address);
|
||||
config_file_parse(host_config_file, &config);
|
||||
|
||||
PSERVER_DATA server;
|
||||
if (gs_init(server, config.address, config.key_dir) != GS_OK) {
|
||||
|
||||
Reference in New Issue
Block a user