fix(desktop): relocate macOS data and compact titlebar#25
Merged
Conversation
Store macOS local-service data under ~/.hugagent, migrate legacy desktop data safely, and keep expanded workspace paths shell-safe. Reduce the native titlebar gap and bump the desktop client to 0.2.4.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary / 概述
Maintainer CE sync derived from upstream commit
127dac58withscripts/build_ce.py.This fixes two macOS desktop issues:
~/.hugagent, while keeping Tauri runtime files under Application Support. Existing desktop data is migrated safely, and legacy data is preserved when the destination already contains data./workspace/...paths and already-expanded physical workspace paths before local Bash execution, so paths containingApplication Supportare not split andpublish_sitecan find generated sites.0.2.4and update desktop documentation and regression coverage.Related issue / 关联 Issue
No public issue. This is a maintainer sync for a reproduced macOS desktop regression.
Type of change / 变更类型
document/**,README*.md)examples/**)Validation / 验证
python scripts/build_ce.py --import-check --pytest-check --frontend-checknpm --prefix src/frontend run buildnpm --prefix desktop run test:scripts— 16 passedcargo test --manifest-path desktop/src-tauri/Cargo.toml— 22 passedgit diff --checkThe generic root
npm run preflightcommand is not available because the repository root has nopackage.json; the repository-native CE release checks above were used instead.Checklist / 检查项
CONTRIBUTING.md.document/zh-CNordocument/enbehavior page is changed.