Explicitly close app on key press

This commit is contained in:
R Midhun Suresh
2025-12-11 16:11:50 +05:30
parent 95b92775e3
commit 88426b8ece

View File

@@ -525,6 +525,8 @@ app.on("ready", async () => {
if (shouldCancelCloseRequest) {
event.preventDefault();
} else {
app.exit();
}
}
});