This commit is contained in:
Araxeus
2021-04-18 01:44:18 +03:00
parent 00468c7d0e
commit 72716afcd3
4 changed files with 24 additions and 14 deletions

View File

@ -149,7 +149,7 @@ const mainMenuTemplate = (win) => [
type: "checkbox",
checked: !!config.get("options.proxy"),
click: (item) => {
setProxy(item, win);
setProxy(item, win);
}
},
{
@ -322,10 +322,10 @@ function setProxy(item, win) {
},
type: 'input',
icon: iconPath,
customStylesheet: path.join(__dirname, "providers", "prompt", "dark-prompt.css"),
customStylesheet: "dark",
};
//TODO: custom bar on prompt need testing on macOS
if(!is.macOS()) {
if (!is.macOS()) {
Object.assign(options, {
frame: false,
customScript: path.join(__dirname, "providers", "prompt", "custom-titlebar.js"),