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

pull/19088/head
Brendan Allan 2026-03-25 15:57:27 +08:00 committed by GitHub
parent 5d9e780029
commit 9717383823
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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
}