feat: you can now set updateFrequency in the settings window

This commit is contained in:
2023-04-27 11:35:00 +02:00
parent 3d2a9c3992
commit 4498e8a73e
5 changed files with 110 additions and 75 deletions

View File

@@ -7,29 +7,30 @@ let settingsWindow;
const store = new Store({
defaults: {
notifications: true,
api: true,
playBackControl: true,
skipArtists: false,
skippedArtists: [""],
adBlock: false,
disableBackgroundThrottle: true,
menuBar: true,
api: true,
apiSettings: {
port: 47836,
},
singleInstance: true,
disableBackgroundThrottle: true,
disableHardwareMediaKeys: false,
trayIcon: true,
minimizeOnClose: false,
mpris: false,
enableCustomHotkeys: false,
enableDiscord: false,
windowBounds: { width: 800, height: 600 },
flags: {
gpuRasterization: true,
disableHardwareMediaKeys: false,
},
menuBar: true,
minimizeOnClose: false,
mpris: false,
notifications: true,
playBackControl: true,
singleInstance: true,
skipArtists: false,
skippedArtists: [""],
trayIcon: true,
updateFrequency: 500,
windowBounds: { width: 800, height: 600 },
},
migrations: {
"3.1.0": (migrationStore) => {