fix(startup): create config directory before singleton lock (#242)

This commit is contained in:
2026-09-09 12:04:08 -07:00
committed by GitHub
parent 9eecb7358b
commit 614a8ca912
9 changed files with 80 additions and 26 deletions
+2
View File
@@ -260,6 +260,8 @@ export function configureEarlyAppPaths(app: EarlyAppLike, options?: EarlyAppPath
existsSync: options?.existsSync ?? fs.existsSync,
});
// The entry process requests its singleton lock before main-process config bootstrap.
fs.mkdirSync(userDataPath, { recursive: true });
app.setName(APP_NAME);
app.setPath('userData', userDataPath);