add setting to prevent sleep on playback (#1072)

This commit is contained in:
jeffvli 2025-09-06 00:56:06 -07:00
parent 40fb5ba916
commit b00305cc86
7 changed files with 114 additions and 0 deletions

View file

@ -320,6 +320,7 @@ export interface SettingsState {
disableAutoUpdate: boolean;
exitToTray: boolean;
minimizeToTray: boolean;
preventSleepOnPlayback: boolean;
startMinimized: boolean;
tray: boolean;
windowBarStyle: Platform;
@ -664,6 +665,7 @@ const initialState: SettingsState = {
disableAutoUpdate: false,
exitToTray: false,
minimizeToTray: false,
preventSleepOnPlayback: false,
startMinimized: false,
tray: true,
windowBarStyle: platformDefaultWindowBarStyle,