Repository navigation
Conversation
iSanae233
force-pushed
the
feat/apps-install-commands
branch
5 times, most recently
from
November 22, 2026 09:36
7b7f6d4 to
c38099e
Compare
iSanae233
force-pushed
the
feat/apps-install-commands
branch
from
November 22, 2026 12:45
c38099e to
8178e49
Compare
iSanae233
force-pushed
the
feat/apps-install-commands
branch
from
November 22, 2026 13:51
8178e49 to
2857329
Compare
Collaborator
|
Nice UI design 但这个变动我暂时不会批准,优先基于 npm 安装有助于统一管理,对于其它安装方式我们需要调研一段时间后再决定 |
Contributor
Author
2 tasks done
3 of 4 tasks
Collaborator
|
@iSanae233 Cool, 可以优先做应用桌面端接入的兼容,但暂时不要涉及安装,可以参考已有的 open PR #9893 来提交单个应用的兼容,因为还需要考虑到用量统计等场景,而不是仅限于安装和版本显示 请暂时不要关闭这个 PR,我们后续或许会直接合并关于您对于 UI 的改动,和官方安装命令的引入 |
iSanae233
force-pushed
the
feat/apps-install-commands
branch
2 times, most recently
from
November 23, 2026 17:18
abe22fe to
3a448a4
Compare
Offer a searchable, platform-specific install catalog with official sites, channel documentation and commands. Show detected channels alongside the catalog and keep direct install for supported methods. Display installed versions by channel, with per-copy selection and uninstall. Keep desktop updates in the official app, and let users clear an unavailable CLI default even when only one copy remains. Preview all targets before confirming a mixed batch upgrade. Keep healthy targets when a tool's preflight fails, check Node requirements for each npm copy, and avoid duplicate update notices. Show the chosen copy's full path during uninstall confirmation and list the sources and versions that remain afterward. Keep plugin preflight and execution aligned on the CLI preference and desktop fallback. Co-Authored-By: GPT-6.2 Sol
iSanae233
force-pushed
the
feat/apps-install-commands
branch
from
November 23, 2026 17:31
3a448a4 to
e662eb6
Compare
This branch has not been deployed
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.


Human Note / 本人说明
为 CC Switch 的应用提供来自官方的安装命令,和官网直达的下载 App 链接或说明
支持搜索需要安装的应用,默认按字母 A-Z 排序
Summary / 概述
Install opens a searchable Install Commands dialog focused on the selected app. It shows commands for the current platform, an official site link, and channel-specific documentation where available.
Related Issue / 关联 Issue
Screenshots / 截图
修改前

修改后
BetterShot_2026-11-22-21-01-17400.1.mp4
Validation / 验证
8178e490, 150 focused frontend tests and 210 Rust command tests passed. Coverage includes the install catalog, source selection and fallback, mixed-channel batch confirmation, partial preflight failure, and per-copy Node requirements.8178e490with 0 reportable findings.8178e490for manual testing and screenshot updates. Automated installation and upgrade checks use fixtures, including Windows and WSL cases.Checklist / 检查清单
pnpm typecheckpasses / 通过 TypeScript 类型检查pnpm format:checkpasses / 通过代码格式检查cargo clippypasses (if Rust code changed) / 通过 Clippy 检查(如修改了 Rust 代码)