mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-19 04:49:13 +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:
|
For users in China:
|
||||||
|
|
||||||
```bash
|
```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)
|
## Download (Current system is Windows)
|
||||||
@ -50,7 +50,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta
|
|||||||
For users in China:
|
For users in China:
|
||||||
|
|
||||||
```batch
|
```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
|
## Usage
|
||||||
|
@ -32,7 +32,7 @@ curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
|
|||||||
国内:
|
国内:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -O https://raw.fgit.cf/bin456789/reinstall/main/reinstall.sh
|
curl -O https://raw.gitmirror.com/bin456789/reinstall/main/reinstall.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## 下载(当前系统是 Windows)
|
## 下载(当前系统是 Windows)
|
||||||
@ -50,7 +50,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta
|
|||||||
国内:
|
国内:
|
||||||
|
|
||||||
```batch
|
```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
|
@echo off
|
||||||
setlocal EnableDelayedExpansion
|
setlocal EnableDelayedExpansion
|
||||||
set confhome=https://raw.githubusercontent.com/bin456789/reinstall/main
|
set confhome=https://raw.githubusercontent.com/bin456789/reinstall/main
|
||||||
set github_proxy=raw.fgit.cf
|
set github_proxy=raw.gitmirror.com
|
||||||
|
|
||||||
rem 不要用 :: 注释
|
rem 不要用 :: 注释
|
||||||
rem 否则可能会出现 系统找不到指定的驱动器
|
rem 否则可能会出现 系统找不到指定的驱动器
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
set -eE
|
set -eE
|
||||||
confhome=https://raw.githubusercontent.com/bin456789/reinstall/main
|
confhome=https://raw.githubusercontent.com/bin456789/reinstall/main
|
||||||
github_proxy=raw.fgit.cf
|
github_proxy=raw.gitmirror.com
|
||||||
|
|
||||||
this_script=$(realpath "$0")
|
this_script=$(realpath "$0")
|
||||||
trap 'trap_err $LINENO $?' ERR
|
trap 'trap_err $LINENO $?' ERR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user