feat(store): migrate from electron-store to electron-conf

This commit is contained in:
4gray committed 2025-10-27 08:20:29 +01:00
1 parent 3520229670
commit 4c6ee1b75a
1 file changed
+2 -5
@@ -1,4 +1,4 @@
import Store from 'electron-store';
import { Conf } from 'electron-conf/main';
export const WINDOW_BOUNDS = 'WINDOW_BOUNDS';
export const MPV_PLAYER_PATH = 'MPV_PLAYER_PATH';
@@ -12,8 +12,5 @@ export type StoreType = {
[MPV_REUSE_INSTANCE]: boolean;
};
// Initialize renderer support
Store.initRenderer();
// Export singleton store instance
export const store = new Store<StoreType>();
export const store = new Conf<StoreType>();