Skip to content

Commit 0442e42

Browse files
committed
feat: rename Proxy label to Set Proxy
1 parent d45ca96 commit 0442e42

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

menu.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,10 @@ export const mainMenuTemplate = (win: BrowserWindow): MenuTemplate => {
309309
label: 'Advanced options',
310310
submenu: [
311311
{
312-
label: 'Proxy',
313-
type: 'checkbox',
314-
checked: !!(config.get('options.proxy')) && config.get('options.proxy') !== '',
315-
click(item) {
316-
setProxy(item, win);
312+
label: 'Set Proxy',
313+
type: 'normal',
314+
async click(item) {
315+
await setProxy(item, win);
317316
},
318317
},
319318
{

0 commit comments

Comments
 (0)