Skip to content

Commit 5b76d09

Browse files
committed
Fix setup:fork script to use correct userData path
1 parent 89db246 commit 5b76d09

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/setup-fork-updates.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ To revert to official updates:
5151
}
5252

5353
// Determine user data path based on platform
54+
// Note: Electron uses the "name" field from package.json for userData path
5455
function getUserDataPath() {
55-
const appName = "1Code"
56+
const appName = "21st-desktop" // Must match package.json "name" field
5657

5758
switch (process.platform) {
5859
case "darwin":

0 commit comments

Comments
 (0)