Merge branch 'master' into custom-electron-prompt

This commit is contained in:
Araxeus
2021-10-19 15:55:00 +03:00
committed by GitHub
20 changed files with 834 additions and 229 deletions

View File

@ -3,8 +3,12 @@ const Store = require("electron-store");
const defaults = require("./defaults");
const migrations = {
/** Update shortcuts format from array to object */
">=1.12.0": (store) => {
">=1.13.0": (store) => {
if (store.get("plugins.discord.listenAlong") === undefined) {
store.set("plugins.discord.listenAlong", true);
}
},
">=1.12.0": (store) => {
const options = store.get("plugins.shortcuts")
let updated = false;
for (const optionType of ["global", "local"]) {