mirror of
https://github.com/NeuralNomadsAI/CodeNomad.git
synced 2026-07-09 16:00:52 +00:00
fix(electron): quit on last window close
This commit is contained in:
parent
1af01680ee
commit
3522d3dff5
1 changed files with 2 additions and 3 deletions
|
|
@ -505,7 +505,6 @@ app.on("before-quit", async (event) => {
|
|||
})
|
||||
|
||||
app.on("window-all-closed", () => {
|
||||
if (process.platform !== "darwin") {
|
||||
app.quit()
|
||||
}
|
||||
// CodeNomad supports a single window; closing it should quit the app on all platforms.
|
||||
app.quit()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue