refactor(brand): 统一 RemoteGit 远程分支图标 - #32
Merged
Merged
Conversation
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.
背景与结果
原先桌面使用终端图标、网页 favicon 使用紫色闪电,应用内使用通用代码符号。现统一为「远程分支」:蓝色底、白色 Git 分支和青色远端节点,体现通过 SSH 管理远程 Git 仓库的定位。
变更类型
关联 Issue
Closes #27
变更内容
icons:generate/icons:check,根构建和桌面构建检查资源一致性;README 保留图标维护命令。设计文档(Wiki)
不适用:本项采用已选定的 A「远程分支」方案,用户明确不需要独立 validation 文档与附件。新旧图标直接引用提交内的产品资源,必要验证结果记录如下。
验证
2026-09-16,macOS 15.5 arm64、Node.js 25.5.0、Electron 44.2.0。
npm run icons:check、git diff --checknpm run desktop:build.app、DMG、ZIP 构建npm run desktop:test在.cindy-worktrees隐藏路径下,单元测试通过后,既有 SPA 回退res.sendFile返回 404。将同一构建复制到普通临时目录后,两种桌面 smoke 均通过;后端路由未作修改。macOS 应用使用ditto复制以保留 Framework 相对符号链接。兼容性与风险
提交前检查