feat(config): add configuration window (#70)

This commit is contained in:
2026-05-21 04:16:21 -07:00
committed by GitHub
parent a54f03f0cd
commit dc52bc2fba
287 changed files with 14507 additions and 8134 deletions
+9
View File
@@ -21,3 +21,12 @@ export function shouldQuitOnWindowAllClosedForTrayState(options: {
if (options.hasTray) return false;
return true;
}
export function shouldQuitOnMpvShutdownForTrayState(options: {
managedPlayback: boolean;
backgroundMode: boolean;
hasTray: boolean;
}): boolean {
// managedPlayback marks process ownership; tray/background only affect window-close policy.
return options.managedPlayback;
}