Skip to content

Commit

Permalink
fix Quit not working when exit prompt setting is on
Browse files Browse the repository at this point in the history
  • Loading branch information
amanharwara committed Feb 21, 2024
1 parent 5b0fc5d commit b54ee2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "altus",
"productName": "Altus",
"version": "5.0.0",
"version": "5.0.1",
"description": "Desktop client for WhatsApp Web with themes & multiple account support.",
"main": ".vite/build/main.js",
"build": {
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const createWindow = () => {
return;
}
if (tray) tray.destroy();
app.quit();
app.exit(0);
});
} else if (tray) {
tray.destroy();
Expand Down

0 comments on commit b54ee2d

Please sign in to comment.