mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-05-16 19:41:17 +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)
|
if (CaptureInterfaces[i]->initOptions)
|
||||||
CaptureInterfaces[i]->initOptions();
|
CaptureInterfaces[i]->initOptions();
|
||||||
|
|
||||||
|
// try load values from a config file
|
||||||
|
option_load("looking-glass-host.ini");
|
||||||
|
|
||||||
// parse the command line arguments
|
// parse the command line arguments
|
||||||
if (!option_parse(argc, argv))
|
if (!option_parse(argc, argv))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user