fix(electron): quit on last window close

This commit is contained in:
Shantur Rathore
2026-01-31 11:24:56 +00:00
parent 1af01680ee
commit 3522d3dff5

View File

@@ -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()
})