diff --git a/src/app/js/index.js b/src/app/js/index.js index 63f58af..047ff2c 100644 --- a/src/app/js/index.js +++ b/src/app/js/index.js @@ -149,14 +149,14 @@ window.ipcRenderer.on("proxy:success", (e, options) => { fireToast(e.msg, "success"); setTimeout(() => { reRenderMainWindow(); - }, 500); + }, 600); }); window.ipcRenderer.on("proxy:error", (e, options) => { console.log({ e }); fireToast(e.msg, "error"); setTimeout(() => { reRenderMainWindow(); - }, 500); + }, 600); }); window.ipcRenderer.on("proxy:warning", (e, options) => { console.log({ e }); diff --git a/src/index.js b/src/index.js index 3a82888..6c71ad3 100644 --- a/src/index.js +++ b/src/index.js @@ -155,6 +155,12 @@ const menu = [ click: () => createURLWindow(), accelerator: "CmdOrCtrl+F", }, + { + label: "Open Dev Tools", + click: () => mainWindow.webContents.openDevTools(), + accelerator: "CmdOrCtrl+O", + visible: false, + }, ], }, ] @@ -211,10 +217,11 @@ const menu = [ accelerator: "CmdOrCtrl+F", }, { - label: "Open Dev Tools", - click: () => mainWindow.webContents.openDevTools(), - accelerator: "CmdOrCtrl+O", - }, + label: "Open Dev Tools", + click: () => mainWindow.webContents.openDevTools(), + accelerator: "CmdOrCtrl+O", + visible: false, + }, ], }, ]