diff --git a/src/hooks/webui/index.js b/src/hooks/webui/index.js index 79295aed7..8f02697ff 100644 --- a/src/hooks/webui/index.js +++ b/src/hooks/webui/index.js @@ -46,7 +46,7 @@ export default async function (ctx) { window.focus() }) - ipcMain.on('app.quit', () => { + app.on('before-quit', () => { // Makes sure the app quits even though we prevent // the closing of this window. window.destroy() diff --git a/src/menubar/index.js b/src/menubar/index.js index a08eb1820..96c65748b 100644 --- a/src/menubar/index.js +++ b/src/menubar/index.js @@ -15,7 +15,7 @@ export default async function (ctx) { skipTaskbar: true, width: 280, height: 385, - backgroundColor: '#ffffff', + backgroundColor: '#0b3a53', webPreferences: { nodeIntegration: true }