feat: 优化桌面文件默认保存路径
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user