mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Add Platform::AutostartSupported
This commit is contained in:
@@ -174,6 +174,10 @@ void Application::run() {
|
||||
psNewVersion();
|
||||
}
|
||||
|
||||
if (cAutoStart() && !Platform::AutostartSupported()) {
|
||||
cSetAutoStart(false);
|
||||
}
|
||||
|
||||
if (cLaunchMode() == LaunchModeAutoStart && !cAutoStart()) {
|
||||
psAutoStart(false, true);
|
||||
App::quit();
|
||||
|
Reference in New Issue
Block a user