core: 更改代理

This commit is contained in:
bin456789 2024-02-05 13:25:29 +08:00
parent 133054e9d1
commit 85434ae7a4
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B
4 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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
```
## 使用

View File

@ -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 否则可能会出现 系统找不到指定的驱动器

View File

@ -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