Add setting to disable auto update

This commit is contained in:
jeffvli 2023-03-31 05:42:48 -07:00
parent 6ccef6e515
commit 293d8ec584
5 changed files with 53 additions and 5 deletions

View file

@ -6,3 +6,4 @@ export * from './playlist.store';
export * from './album-list-data.store';
export * from './album-artist-list-data.store';
export * from './full-screen-player.store';
export * from './settings.store';

View file

@ -71,6 +71,7 @@ export interface SettingsState {
songs: DataTableProps;
};
window: {
disableAutoUpdate: boolean;
exitToTray: boolean;
minimizeToTray: boolean;
windowBarStyle: Platform;
@ -245,6 +246,7 @@ export const useSettingsStore = create<SettingsSlice>()(
},
},
window: {
disableAutoUpdate: true,
exitToTray: false,
minimizeToTray: false,
windowBarStyle: Platform.WEB,