mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
Fix for CommandLineParser
This commit is contained in:
@@ -63,8 +63,11 @@ int main(int argc, char *argv[])
|
||||
app.loadTranslator();
|
||||
app.loadFonts();
|
||||
|
||||
app.parseCommands();
|
||||
app.init();
|
||||
bool doExec = app.parseCommands();
|
||||
|
||||
return app.exec();
|
||||
if (doExec) {
|
||||
app.init();
|
||||
return app.exec();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user