call UnixDaemon::start for daemon mode

This commit is contained in:
orignal
2025-11-12 16:07:58 -05:00
parent 92e3d29f22
commit 4c2c06fda8
+9 -3
View File
@@ -189,9 +189,15 @@ namespace util
alert->Go ();
});
}
auto ret = Daemon_Singleton::start ();
if (ret && app)
app->CreateMainWindow ();
bool ret = false;
if (app)
{
ret = Daemon_Singleton::start ();
if (ret)
app->CreateMainWindow ();
}
else
ret = DaemonUnix::start ();
return ret;
}