Skip to content

Commit

Permalink
ignore close on window
Browse files Browse the repository at this point in the history
  • Loading branch information
willwade committed Oct 29, 2024
1 parent 214073e commit 48002fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nodejs/sender-monitor/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,6 @@ app.on("ready", () => {
});


app.on("window-all-closed", () => {
if (process.platform !== "darwin") app.quit();
app.on("window-all-closed", (e) => {
e.preventDefault();
});

0 comments on commit 48002fd

Please sign in to comment.