Skip to content

Commit

Permalink
update main
Browse files Browse the repository at this point in the history
  • Loading branch information
an-lee committed Nov 19, 2024
1 parent 59bcb43 commit 96ab044
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions enjoy/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,7 @@ app.on("ready", async () => {
// for applications and their menu bar to stay active until the user quits
// explicitly with Cmd + Q.
app.on("window-all-closed", () => {
// Respect the OSX convention of having the application in memory even
// after all windows have been closed
if (process.platform !== "darwin") {
app.quit();
}
app.quit();
});

app.on("activate", () => {
Expand Down

0 comments on commit 96ab044

Please sign in to comment.