mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[c-host] load config from looking-glass-host.ini if available
This commit is contained in:
parent
785bc33192
commit
51ddb62126
@ -268,6 +268,9 @@ int app_main(int argc, char * argv[])
|
||||
if (CaptureInterfaces[i]->initOptions)
|
||||
CaptureInterfaces[i]->initOptions();
|
||||
|
||||
// try load values from a config file
|
||||
option_load("looking-glass-host.ini");
|
||||
|
||||
// parse the command line arguments
|
||||
if (!option_parse(argc, argv))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user