remove upgrade button + makes img unselectable

This commit is contained in:
Araxeus
2021-10-15 15:40:34 +03:00
parent d775e3d588
commit ce4580605d
3 changed files with 19 additions and 0 deletions

View File

@ -76,6 +76,14 @@ const mainMenuTemplate = (win) => {
config.set("options.resumeOnStart", item.checked);
},
},
{
label: "Remove upgrade button",
type: "checkbox",
checked: config.get("options.removeUpgradeButton"),
click: (item) => {
config.set("options.removeUpgradeButton", item.checked);
},
},
...(is.windows() || is.linux()
? [
{