Skip to content

Commit

Permalink
fix: Fix "Quit" option not working after closing to tray
Browse files Browse the repository at this point in the history
  • Loading branch information
amanharwara committed Feb 10, 2025
1 parent 0211d61 commit a3a1ae4
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.5.1",
"version": "5.5.2",
"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 @@ -99,7 +99,7 @@ function confirmAndExit() {
function quitApp() {
const shouldPrompt = getSettingWithDefault("exitPrompt");
if (shouldPrompt) confirmAndExit();
else app.quit();
else app.exit(0);
}

function createWindow() {
Expand Down

0 comments on commit a3a1ae4

Please sign in to comment.