diff --git a/src/main/set.json b/src/main/set.json index 01421db..05dbb39 100644 --- a/src/main/set.json +++ b/src/main/set.json @@ -16,5 +16,7 @@ "closeAction": "ask", "musicQuality": "higher", "fontFamily": "system-ui", - "fontScope": "global" + "fontScope": "global", + "autoPlay": false, + "downloadPath": "" } diff --git a/src/renderer/App.vue b/src/renderer/App.vue index ff2c21f..c13b349 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -63,6 +63,7 @@ onMounted(() => { store.dispatch('initializeSettings'); store.dispatch('initializeTheme'); store.dispatch('initializeSystemFonts'); + store.dispatch('initializePlayState'); if (isMobile.value) { store.commit( 'setMenus', @@ -72,7 +73,7 @@ onMounted(() => { }); -