fix batch script only load once

This commit is contained in:
codetypes committed 2025-03-25 12:57:33 +08:00
1 parent f6b02d92c6
commit 49bfc76fc6
4 files changed
+21 -18

No files matched your search

+1
View File
@@ -455,6 +455,7 @@ export const useWorkspace = create<WorkspaceStore>((set, get) => ({
data.files?.forEach((file) => {
workspace.allFiles.set(file.path, { path: file.path, desc: file.desc, exists: false });
});
process.chdir(Path.dirname(workspace.path));
},
saveWorkspace: () => {