From b0b5d3ad90c4613a59b4fa2c905a81b13ebad925 Mon Sep 17 00:00:00 2001 From: Erfan Mola Date: Wed, 15 Jan 2025 21:13:16 +0330 Subject: [PATCH] Fix Store Preferences Problem --- src/main/init.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/init.ts b/src/main/init.ts index 18b0f3b..e2031f1 100644 --- a/src/main/init.ts +++ b/src/main/init.ts @@ -29,7 +29,9 @@ Menu.setApplicationMenu( Store.initRenderer(); export const store: any = new Store({ - defaults: defaultPreferences, + defaults: { + preferences: defaultPreferences, + }, }); // Initialize the ipcMain Preferences Store