From 76014d4d7a1c15275a47c4ad8389fb05cff19e43 Mon Sep 17 00:00:00 2001 From: ElectroMutex <97535877+SkillfulElectro@users.noreply.github.com> Date: Wed, 5 Jun 2024 17:38:05 +0330 Subject: [PATCH] Update main.js --- main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.js b/main.js index 6304b00..7ccb059 100644 --- a/main.js +++ b/main.js @@ -197,6 +197,10 @@ app.whenReady().then(() => { }); }); +// just to make sure +app.on('will-quit' , () => { + session.defaultSession.clearStorageData() +}) app.on('window-all-closed', () => { if (process.platform !== 'darwin') {