The open source coding agent.
TypeScript
electron: remove file extension from electron-store wrapper (#19082)
Brendan Allan9717383823e2
diff --git a/packages/desktop-electron/src/main/store.ts b/packages/desktop-electron/src/main/store.tsindex fa1c5682e25..cf2d25b110c 100644--- a/packages/desktop-electron/src/main/store.ts+++ b/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}