From 320a5ce538990043adcb1c63a572690fa2cb86f8 Mon Sep 17 00:00:00 2001 From: Mykola Zhyhallo Date: Mon, 6 Nov 2023 23:51:33 +0100 Subject: [PATCH] Messages while deleting data and modules cache --- src-electron/handlers/settings.ts | 1 + src/pages/SettingsPage.vue | 32 +++++++++++++++++++++++++++---- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/src-electron/handlers/settings.ts b/src-electron/handlers/settings.ts index 02008e3..a9b3db1 100644 --- a/src-electron/handlers/settings.ts +++ b/src-electron/handlers/settings.ts @@ -74,6 +74,7 @@ export class Settings { } async deleteData() { + this.deleteModulesData() const p = joinPath(app.getPath('appData'), 'UACyberShield', 'itarmykit') if (existsSync(p)) { await fsPromises.rmdir(p, { recursive: true }) diff --git a/src/pages/SettingsPage.vue b/src/pages/SettingsPage.vue index 1f3bd77..e752801 100644 --- a/src/pages/SettingsPage.vue +++ b/src/pages/SettingsPage.vue @@ -1,5 +1,5 @@