From 0442e427a632f4141f99efe6957a85267787e92f Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sat, 7 Oct 2023 22:27:08 +0900 Subject: [PATCH] feat: rename `Proxy` label to `Set Proxy` --- menu.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/menu.ts b/menu.ts index 17c7437c..5432078f 100644 --- a/menu.ts +++ b/menu.ts @@ -309,11 +309,10 @@ export const mainMenuTemplate = (win: BrowserWindow): MenuTemplate => { label: 'Advanced options', submenu: [ { - label: 'Proxy', - type: 'checkbox', - checked: !!(config.get('options.proxy')) && config.get('options.proxy') !== '', - click(item) { - setProxy(item, win); + label: 'Set Proxy', + type: 'normal', + async click(item) { + await setProxy(item, win); }, }, {