feat: 优化桌面文件默认保存路径

This commit is contained in:
SkyJourney
2026-08-01 04:09:21 +08:00
parent dc026835b7
commit 7f2c169405
5 changed files with 371 additions and 16 deletions
+6 -1
View File
@@ -337,7 +337,12 @@ if (!hasSingleInstanceLock) {
windowStatePath: path.join(
app.getPath("userData"),
"window-state.json"
)
),
saveLocationStatePath: path.join(
app.getPath("userData"),
"save-location.json"
),
documentsDirectory: app.getPath("documents")
});
await applicationController.initialize();