diff --git a/main.js b/main.js index a42b159..0d64de2 100644 --- a/main.js +++ b/main.js @@ -75,13 +75,7 @@ function createTray() { }, { label: '退出', click: async () => { - const url = mainWindow.webContents.getURL(); - const hash = new URL(url).hash; - if (hash.indexOf('/meeting') === -1) { - quit() - } else { - await mainWindow.webContents.send('quitAndInstall'); - } + quit() }, // icon: iconPath, },