mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-05-15 20:12:59 -07:00
feat: add auto update support
This commit is contained in:
@@ -12,3 +12,12 @@ export function shouldEnsureTrayOnStartupForInitialArgs(
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
export function shouldQuitOnWindowAllClosedForTrayState(options: {
|
||||
backgroundMode: boolean;
|
||||
hasTray: boolean;
|
||||
}): boolean {
|
||||
if (options.backgroundMode) return false;
|
||||
if (options.hasTray) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user