Skip to content

Add desktop workspace copy and switch action - #724

Closed
yiqi-017 wants to merge 1 commit into
lsdefine:mainfrom
dd3xp:desktop-data-dir-move-minimal
Closed

Add desktop workspace copy and switch action#724
yiqi-017 wants to merge 1 commit into
lsdefine:mainfrom
dd3xp:desktop-data-dir-move-minimal

Conversation

@yiqi-017

@yiqi-017 yiqi-017 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a desktop settings action to copy the current GA workspace to a user-selected parent directory and switch the bridge to the copied workspace.
  • Verify the restarted bridge reports the expected ga_root before showing success, and roll back the saved override if switching fails.
  • Keep the bundled runtime intact, avoid compatibility probing for self-copied workspaces, and normalize Windows paths before passing them to Python.

Test plan

  • Ran cargo check in frontends/desktop/src-tauri.
  • Built Windows portable package from the feature branch and extracted it locally to C:\Users\Hp\Desktop\TEST_GA.
  • Confirmed GenericAgent.exe exists in the extracted portable package.

Add a user-triggered desktop action to copy the current GA workspace to a chosen location and verify the bridge actually switches there before reporting success.
@yiqi-017

yiqi-017 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #725, which uses the same commit from branch dd3xp:main2.

@yiqi-017 yiqi-017 closed this Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant