fix: app won't quit
This commit is contained in:
parent
d8c6c978de
commit
bb07963381
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "openrewind",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"type": "module",
|
||||
"description": "Your second brain, superpowered.",
|
||||
"main": "dist/dev/index.js",
|
||||
|
@ -63,7 +63,7 @@ function createTray() {
|
||||
{
|
||||
label: t("tray.quit"),
|
||||
click: () => {
|
||||
app.quit();
|
||||
app.exit();
|
||||
}
|
||||
}
|
||||
]);
|
||||
@ -93,6 +93,6 @@ app.on("ready", () => {
|
||||
mainWindow.hide();
|
||||
});
|
||||
});
|
||||
app.on("window-all-closed", () => {
|
||||
if (process.platform !== "darwin") app.quit();
|
||||
});
|
||||
// app.on("window-all-closed", () => {
|
||||
// if (process.platform !== "darwin") app.quit();
|
||||
// });
|
||||
|
Loading…
Reference in New Issue
Block a user