Merge pull request #673 from Araxeus/force-show-like-buttons

feat: option to force show like buttons
This commit is contained in:
th-ch
2022-04-07 20:56:34 +02:00
committed by GitHub
2 changed files with 30 additions and 9 deletions

25
menu.js
View File

@ -80,12 +80,25 @@ const mainMenuTemplate = (win) => {
},
},
{
label: "Remove upgrade button",
type: "checkbox",
checked: config.get("options.removeUpgradeButton"),
click: (item) => {
config.setMenuOption("options.removeUpgradeButton", item.checked);
},
label: "Visual Tweaks",
submenu: [
{
label: "Remove upgrade button",
type: "checkbox",
checked: config.get("options.removeUpgradeButton"),
click: (item) => {
config.setMenuOption("options.removeUpgradeButton", item.checked);
},
},
{
label: "Force show like buttons",
type: "checkbox",
checked: config.get("options.ForceShowLikeButtons"),
click: (item) => {
config.set("options.ForceShowLikeButtons", item.checked);
},
},
],
},
{
label: "Single instance lock",