diff --git a/config/store.js b/config/store.js index 8cfa8203..3653de1b 100644 --- a/config/store.js +++ b/config/store.js @@ -3,6 +3,13 @@ const Store = require("electron-store"); const defaults = require("./defaults"); const migrations = { + ">=1.14.0": (store) => { + if ( + typeof store.get("plugins.precise-volume.globalShortcuts") !== "object" + ) { + store.set("plugins.precise-volume.globalShortcuts", {}); + } + }, ">=1.13.0": (store) => { if (store.get("plugins.discord.listenAlong") === undefined) { store.set("plugins.discord.listenAlong", true);