mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-18 20:39:14 +08:00
core: 更改代理
This commit is contained in:
parent
133054e9d1
commit
85434ae7a4
@ -32,7 +32,7 @@ curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
|
||||
For users in China:
|
||||
|
||||
```bash
|
||||
curl -O https://raw.fgit.cf/bin456789/reinstall/main/reinstall.sh
|
||||
curl -O https://raw.gitmirror.com/bin456789/reinstall/main/reinstall.sh
|
||||
```
|
||||
|
||||
## Download (Current system is Windows)
|
||||
@ -50,7 +50,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta
|
||||
For users in China:
|
||||
|
||||
```batch
|
||||
certutil -urlcache -f -split https://raw.fgit.cf/bin456789/reinstall/main/reinstall.bat
|
||||
certutil -urlcache -f -split https://raw.gitmirror.com/bin456789/reinstall/main/reinstall.bat
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
@ -32,7 +32,7 @@ curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
|
||||
国内:
|
||||
|
||||
```bash
|
||||
curl -O https://raw.fgit.cf/bin456789/reinstall/main/reinstall.sh
|
||||
curl -O https://raw.gitmirror.com/bin456789/reinstall/main/reinstall.sh
|
||||
```
|
||||
|
||||
## 下载(当前系统是 Windows)
|
||||
@ -50,7 +50,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta
|
||||
国内:
|
||||
|
||||
```batch
|
||||
certutil -urlcache -f -split https://raw.fgit.cf/bin456789/reinstall/main/reinstall.bat
|
||||
certutil -urlcache -f -split https://raw.gitmirror.com/bin456789/reinstall/main/reinstall.bat
|
||||
```
|
||||
|
||||
## 使用
|
||||
|
@ -1,7 +1,7 @@
|
||||
@echo off
|
||||
setlocal EnableDelayedExpansion
|
||||
set confhome=https://raw.githubusercontent.com/bin456789/reinstall/main
|
||||
set github_proxy=raw.fgit.cf
|
||||
set github_proxy=raw.gitmirror.com
|
||||
|
||||
rem 不要用 :: 注释
|
||||
rem 否则可能会出现 系统找不到指定的驱动器
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
set -eE
|
||||
confhome=https://raw.githubusercontent.com/bin456789/reinstall/main
|
||||
github_proxy=raw.fgit.cf
|
||||
github_proxy=raw.gitmirror.com
|
||||
|
||||
this_script=$(realpath "$0")
|
||||
trap 'trap_err $LINENO $?' ERR
|
||||
|
Loading…
x
Reference in New Issue
Block a user