Explicitly close app on key press
This commit is contained in:
@@ -525,6 +525,8 @@ app.on("ready", async () => {
|
||||
|
||||
if (shouldCancelCloseRequest) {
|
||||
event.preventDefault();
|
||||
} else {
|
||||
app.exit();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user