Allow the config file to be specified in the command line.

master
Pacman Ghost 7 years ago
parent d1e3bf3fc6
commit 756737e46d
  1. 2
      MainApp/Program.cs

@ -39,6 +39,8 @@ namespace MouseInterception
{
// load the app config
string fname = getAppRelativePath( "config.xml" ) ; // FIXME! this s.b. in the user's AppData folder
if ( args.Length >= 1 )
fname = args[0] ;
mAppConfig = new AppConfig( fname ) ;
// load the debug config

Loading…
Cancel
Save