mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 02:31:45 +00:00
add defaults and migrations
This commit is contained in:
@ -16,6 +16,7 @@ const defaultConfig = {
|
||||
autoResetAppCache: false,
|
||||
resumeOnStart: true,
|
||||
proxy: "",
|
||||
startingPage: "Home",
|
||||
},
|
||||
plugins: {
|
||||
// Enabled plugins
|
||||
|
||||
@ -10,6 +10,9 @@ const setDefaultPluginOptions = (store, plugin) => {
|
||||
|
||||
const migrations = {
|
||||
">=1.20.0": (store) => {
|
||||
// used only to make the radio button checked in the menu
|
||||
store.set('options.startingPage', "Home");
|
||||
|
||||
setDefaultPluginOptions(store, "visualizer");
|
||||
|
||||
if (store.get("plugins.notifications.toastStyle") === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user