docs: README 下载示例与旧版本章节改为指向本仓库 git.dr1997.com/public/reinstall

This commit is contained in:
2026-08-16 18:12:30 +08:00
parent 7b41761437
commit 57186bf105
+5 -21
View File
@@ -86,16 +86,8 @@
## 下载(当前系统是 <img width="20" height="20" src="https://www.kernel.org/theme/images/logos/favicon.png" /> Linux ## 下载(当前系统是 <img width="20" height="20" src="https://www.kernel.org/theme/images/logos/favicon.png" /> Linux
国外服务器:
```bash ```bash
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O ${_##*/} $_ curl -O https://git.dr1997.com/public/reinstall/raw/main/reinstall.sh || wget -O ${_##*/} $_
```
国内服务器:
```bash
curl -O https://cnb.cool/bin456789/reinstall/-/git/raw/main/reinstall.sh || wget -O ${_##*/} $_
``` ```
## 下载(当前系统是 <img width="20" height="20" src="https://blogs.windows.com/wp-content/uploads/prod/2022/09/cropped-Windows11IconTransparent512-32x32.png" /> Windows ## 下载(当前系统是 <img width="20" height="20" src="https://blogs.windows.com/wp-content/uploads/prod/2022/09/cropped-Windows11IconTransparent512-32x32.png" /> Windows
@@ -111,7 +103,7 @@ curl -O https://cnb.cool/bin456789/reinstall/-/git/raw/main/reinstall.sh || wget
用 IE 下载 (先在 IE 高级设置里启用 TLS 1.2),或者通过远程桌面,将这两个文件保存到同一个目录 用 IE 下载 (先在 IE 高级设置里启用 TLS 1.2),或者通过远程桌面,将这两个文件保存到同一个目录
- <https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.bat> - <https://git.dr1997.com/public/reinstall/raw/main/reinstall.bat>
- <https://www.cygwin.com/setup-x86.exe> - <https://www.cygwin.com/setup-x86.exe>
@@ -119,16 +111,8 @@ curl -O https://cnb.cool/bin456789/reinstall/-/git/raw/main/reinstall.sh || wget
</details> </details>
国外服务器:
```batch ```batch
certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.bat certutil -urlcache -f -split https://git.dr1997.com/public/reinstall/raw/main/reinstall.bat
```
国内服务器:
```batch
certutil -urlcache -f -split https://cnb.cool/bin456789/reinstall/-/git/raw/main/reinstall.bat
``` ```
## 使用 ## 使用
@@ -584,11 +568,11 @@ bash reinstall.sh reset
如果遇到新的 Bug,可以试下旧版本是否正常 如果遇到新的 Bug,可以试下旧版本是否正常
从 <https://github.com/bin456789/reinstall/commits/main> 右侧找到旧版本的 `commit_id` 从 <https://git.dr1997.com/public/reinstall/commits/branch/main> 右侧找到旧版本的 `commit_id`
```bash ```bash
commit_id=xxxxxxx commit_id=xxxxxxx
curl -O https://raw.githubusercontent.com/bin456789/reinstall/$commit_id/reinstall.sh || wget -O ${_##*/} $_ curl -O https://git.dr1997.com/public/reinstall/raw/$commit_id/reinstall.sh || wget -O ${_##*/} $_
sed -i "/^confhome.*main$/s/main/$commit_id/" reinstall.sh sed -i "/^confhome.*main$/s/main/$commit_id/" reinstall.sh
bash reinstall.sh ... bash reinstall.sh ...
``` ```