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