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

This commit is contained in:
Brendan Allan
2026-03-25 15:57:27 +08:00
committed by GitHub
parent 5d9e780029
commit 9717383823

View File

@@ -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
}