We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36a1647 commit 860893fCopy full SHA for 860893f
electron/main.ts
@@ -58,9 +58,9 @@ const mainWindow = new MainWindow();
58
// for applications and their menu bar to stay active until the user quits
59
// explicitly with Cmd + Q.
60
app.on("window-all-closed", () => {
61
+ mainWindow.remove();
62
if (!isMac) {
63
app.quit();
- mainWindow.remove();
64
}
65
});
66
@@ -69,6 +69,7 @@ app.on("activate", () => {
69
// dock icon is clicked and there are no other windows open.
70
if (BrowserWindow.getAllWindows().length === 0) {
71
mainWindow.init();
72
+ bindMenuIpc(mainWindow);
73
74
75
0 commit comments