Repository navigation
首次启动分步提示,并支持容器创建模板 - #9
Merged
Merged
Conversation
First-launch failures should say whether WSL or the SDK failed, and keep a log the user can copy. Create forms are saved locally so the same ports and mounts are not retyped. Co-authored-by: 绿岸公式 <chinesejar@gmail.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This was referenced Oct 11, 2026
Closed
timeroute
added a commit
that referenced
this pull request
Oct 11, 2026
将包版本定为 0.1.1,并把 #9 记入 CHANGELOG
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.
改了什么
首次启动不再只有一条总进度。安装弹窗分成两步,每步有「等待 / 检查中 / 通过 / 失败」:
wsl --update。任一步失败后,会出现醒目的「查看日志 / 重试」。查看日志会打开应用内日志面板,可以一键复制;同时把日志追加写入
%LOCALAPPDATA%\WSLcDesktop\logs\sdk-setup.log,并可以「打开日志文件夹」。WSL 检查没过时不会继续下载 SDK。创建容器对话框增加模板:
%LOCALAPPDATA%\WSLcDesktop\templates.json,和 prefs、catalog 放在一起。这一版没有导入/导出。新增文案都走现有中英 i18n。
English
First launch now shows two steps (WSL 2.9.3+ check, then SDK install) with pass/fail on the step, plus Retry and an in-app copyable log that is also written under the app data
logsfolder. The create-container dialog can save, fill, rename, and delete local JSON templates.未验证
explorer打开日志文件夹、剪贴板复制、GPUI 布局都只在代码和单元测试里覆盖。cargo check与cargo test通过(13 个测试,含版本判断、模板 JSON、日志轮转)。为了能在这台机器上编译 GPUI,安装了 fontconfig / xkbcommon 等系统库;这不代表 Windows 运行时已测过。wsl --version的中英文样例输出有单元测试;真实机器上的输出格式若和样例差很多,可能被当成「读不出版本」。