summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop-electron
diff options
context:
space:
mode:
authorBrendan Allan <[email protected]>2026-04-15 17:21:04 +0800
committerGitHub <[email protected]>2026-04-15 09:21:04 +0000
commitd7718d41d465cc1e84bc4d6c2e81af8baf46a23e (patch)
treeec7bd087eebc837a6145dd166d5c28d30c716ffb /packages/desktop-electron
parentc98f61638535c9cc57a2b710decc780f7289fc2f (diff)
downloadopencode-d7718d41d465cc1e84bc4d6c2e81af8baf46a23e.tar.gz
opencode-d7718d41d465cc1e84bc4d6c2e81af8baf46a23e.zip
refactor(electron): update store configuration (#22597)
Diffstat (limited to 'packages/desktop-electron')
-rw-r--r--packages/desktop-electron/src/main/store.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/desktop-electron/src/main/store.ts b/packages/desktop-electron/src/main/store.ts
index cf2d25b11..709e820e2 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, fileExtension: "" })
+ const next = new Store({ name, fileExtension: "", accessPropertiesByDotNotation: false })
cache.set(name, next)
return next
}