Skip to content

fix(Win_install): 尝试修复 Windows 安装脚本的一些错误行为 - #36

Merged
huangjj27 merged 4 commits into
sysu:mainfrom
RenAhsAcme:main
May 7, 2026
Merged

fix(Win_install): 尝试修复 Windows 安装脚本的一些错误行为#36
huangjj27 merged 4 commits into
sysu:mainfrom
RenAhsAcme:main

Conversation

@RenAhsAcme

Copy link
Copy Markdown
Contributor

已修改

修正 Windows 安装脚本使用完整 crates.io 仓库、不等待 Rust 初始化完成就继续以及不能正确提供绕过运行限制策略的问题。

修改方法

  1. 更正 README 中关于脚本的使用说明;
  2. 要求 PowerShell 必须等待 Rust 初始化进程完成后再继续执行;
  3. 使用 TUNA 稀疏化镜像而不是拉取整个仓库。

验证

更正后脚本安装执行的屏幕录制 原视频时长9分钟,受限于 GitHub 附件大小限制,已对视频做压缩加速处理。验证环境为全新 Windows 10 LTSC 2021,仅安装了 Git For Windows 和 Visual Studio 2026 (C++ 桌面开发必要工具链)。
2026-05-07.12-37-12_1.mp4

安全更新?

不是。该更改不具有任何安全性更改。

破坏性更改?

不是。该更改不具有任何破坏性更改,应该可以安全切换到新的特性版本。

RenAhsAcme added 4 commits May 7, 2026 08:50
1. 尝试修复不等待 Rust 初始化完成就执行接下来的操作导致 Cargo 命令执行失败的问题;

2. 尝试使用 TUNA 镜像站的稀疏索引以加快首次更新索引的速度。
原先使用的方法仅在现代化终端上有效,使用更通用的命令以使得传统终端也可绕过限制。
在全新环境下,Rust 编译时可能出错,增加提示。
@huangjj27
huangjj27 merged commit b23ceac into sysu:main May 7, 2026
2 checks passed
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.

2 participants