diff --git a/package.json b/package.json index cec8575..becf8a2 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/electron/index.ts b/src/electron/index.ts index c3969c3..7254c47 100644 --- a/src/electron/index.ts +++ b/src/electron/index.ts @@ -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(); +// });