electron: remove file extension from electron-store wrapper (#19082)
parent
5d9e780029
commit
9717383823
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue