Support --fg-root in fgjs
This commit is contained in:
parent
7ad2bee1a8
commit
11d18d3e5f
2 changed files with 3 additions and 1 deletions
|
@ -59,7 +59,7 @@ Name: "{group}\Tools\Install & Uninstall Scenery"; Filename: "{app}\bin\Win32\fg
|
|||
Name: "{group}\Tools\TerraSync"; Filename: "{app}\bin\Win32\terrasync.exe"; Parameters: "-S -p 5505 -d ""{app}\terrasync"""; WorkingDir: "{app}";
|
||||
Name: "{group}\Tools\Uninstall FlightGear"; Filename: "{uninstallexe}"
|
||||
|
||||
Name: "{group}\Tools\fgjs"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\fgjs.exe"""; WorkingDir: "{app}\bin\Win32";
|
||||
Name: "{group}\Tools\fgjs"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\fgjs.exe"" ""--fg-root={app}\data"""; WorkingDir: "{app}\bin\Win32";
|
||||
Name: "{group}\Tools\GPSsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\GPSsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
||||
Name: "{group}\Tools\UGsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\UGsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
||||
Name: "{group}\Tools\MIDSsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\MIDSsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32";
|
||||
|
|
|
@ -81,6 +81,8 @@ int main( int argc, char *argv[] ) {
|
|||
cout << "Usage:" << endl;
|
||||
cout << " --help\t\t\tShow this help" << endl;
|
||||
exit(0);
|
||||
} else if (strncmp("--fg-root=", argv[i], 10) == 0) {
|
||||
// used later
|
||||
} else {
|
||||
cout << "Unknown option \"" << argv[i] << "\"" << endl;
|
||||
exit(0);
|
||||
|
|
Loading…
Reference in a new issue