ソースを参照

electron: remove file extension from electron-store wrapper (#19082)

Brendan Allan 5 ヶ月 前
コミット
9717383823
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/desktop-electron/src/main/store.ts

+ 1 - 1
packages/desktop-electron/src/main/store.ts

@@ -7,7 +7,7 @@ const cache = new Map<string, Store>()
 export function getStore(name = SETTINGS_STORE) {
   const cached = cache.get(name)
   if (cached) return cached
-  const next = new Store({ name })
+  const next = new Store({ name, fileExtension: "" })
   cache.set(name, next)
   return next
 }