Commit 1db3c9c0 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(app): test `iconified` option if os != mac

parent 9e4dae0e
...@@ -481,10 +481,10 @@ void App::openAppAfterInit () { ...@@ -481,10 +481,10 @@ void App::openAppAfterInit () {
else else
setTrayIcon(); setTrayIcon();
smartShowWindow(mainWindow);
#else
if (!mParser.isSet("iconified")) if (!mParser.isSet("iconified"))
smartShowWindow(mainWindow); smartShowWindow(mainWindow);
#else
smartShowWindow(mainWindow);
#endif // ifndef __APPLE__ #endif // ifndef __APPLE__
// Display Assistant if it's the first time app launch. // Display Assistant if it's the first time app launch.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment