mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
feat(store): migrate from electron-store to electron-conf
This commit is contained in:
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>();
|
||||
Reference in new issue
Block a user