From b54ee2dc482f9a5ae7d2c3894f9c635dbbb4ee7f Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Wed, 21 Feb 2024 13:54:59 +0530 Subject: [PATCH] fix Quit not working when exit prompt setting is on --- package.json | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 66e6d5f1..a41221d1 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/main.ts b/src/main.ts index 5413e8ac..80216673 100644 --- a/src/main.ts +++ b/src/main.ts @@ -147,7 +147,7 @@ const createWindow = () => { return; } if (tray) tray.destroy(); - app.quit(); + app.exit(0); }); } else if (tray) { tray.destroy();