mirror of
https://github.com/bin456789/reinstall.git
synced 2025-06-08 13:29:58 +00:00
core: 国内使用 cnb 仓库
This commit is contained in:
parent
5b5b2698e2
commit
d5b9c2da34
18
.github/workflows/sync_to_cnb.yml
vendored
Normal file
18
.github/workflows/sync_to_cnb.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: 同步到 CNB
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
jobs:
|
||||||
|
run:
|
||||||
|
name: 同步到 CNB
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- uses: yesolutions/mirror-action@master
|
||||||
|
with:
|
||||||
|
REMOTE: https://cnb.cool/bin456789/reinstall.git
|
||||||
|
GIT_USERNAME: cnb
|
||||||
|
GIT_PASSWORD: ${{ secrets.CNB_TOKEN }}
|
||||||
|
PUSH_ALL_REFS: false
|
@ -71,7 +71,7 @@ curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
|
|||||||
For server inside China:
|
For server inside China:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -O https://gitlab.com/bin456789/reinstall/-/raw/main/reinstall.sh || wget -O reinstall.sh $_
|
curl -O https://cnb.cool/bin456789/reinstall/-/git/raw/main/reinstall.sh || wget -O reinstall.sh $_
|
||||||
```
|
```
|
||||||
|
|
||||||
## Download (Current system is <img width="20" height="20" src="https://blogs.windows.com/wp-content/uploads/prod/2022/09/cropped-Windows11IconTransparent512-32x32.png" /> Windows)
|
## Download (Current system is <img width="20" height="20" src="https://blogs.windows.com/wp-content/uploads/prod/2022/09/cropped-Windows11IconTransparent512-32x32.png" /> Windows)
|
||||||
@ -104,7 +104,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta
|
|||||||
For server inside China:
|
For server inside China:
|
||||||
|
|
||||||
```batch
|
```batch
|
||||||
certutil -urlcache -f -split https://gitlab.com/bin456789/reinstall/-/raw/main/reinstall.bat
|
certutil -urlcache -f -split https://cnb.cool/bin456789/reinstall/-/git/raw/main/reinstall.bat
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
@ -71,7 +71,7 @@ curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
|
|||||||
国内服务器:
|
国内服务器:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -O https://gitlab.com/bin456789/reinstall/-/raw/main/reinstall.sh || wget -O reinstall.sh $_
|
curl -O https://cnb.cool/bin456789/reinstall/-/git/raw/main/reinstall.sh || wget -O reinstall.sh $_
|
||||||
```
|
```
|
||||||
|
|
||||||
## 下载(当前系统是 <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)
|
||||||
@ -104,7 +104,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta
|
|||||||
国内服务器:
|
国内服务器:
|
||||||
|
|
||||||
```batch
|
```batch
|
||||||
certutil -urlcache -f -split https://gitlab.com/bin456789/reinstall/-/raw/main/reinstall.bat
|
certutil -urlcache -f -split https://cnb.cool/bin456789/reinstall/-/git/raw/main/reinstall.bat
|
||||||
```
|
```
|
||||||
|
|
||||||
## 使用
|
## 使用
|
||||||
|
@ -3,7 +3,7 @@ mode con cp select=437 >nul
|
|||||||
setlocal EnableDelayedExpansion
|
setlocal EnableDelayedExpansion
|
||||||
|
|
||||||
set confhome=https://raw.githubusercontent.com/bin456789/reinstall/main
|
set confhome=https://raw.githubusercontent.com/bin456789/reinstall/main
|
||||||
set confhome_cn=https://gitlab.com/bin456789/reinstall/-/raw/main
|
set confhome_cn=https://cnb.cool/bin456789/reinstall/-/git/raw/main
|
||||||
rem set confhome_cn=https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main
|
rem set confhome_cn=https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main
|
||||||
|
|
||||||
set pkgs=curl,cpio,p7zip,dos2unix,jq,xz,gzip,zstd,openssl,bind-utils,libiconv,binutils
|
set pkgs=curl,cpio,p7zip,dos2unix,jq,xz,gzip,zstd,openssl,bind-utils,libiconv,binutils
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
set -eE
|
set -eE
|
||||||
confhome=https://raw.githubusercontent.com/bin456789/reinstall/main
|
confhome=https://raw.githubusercontent.com/bin456789/reinstall/main
|
||||||
confhome_cn=https://gitlab.com/bin456789/reinstall/-/raw/main
|
confhome_cn=https://cnb.cool/bin456789/reinstall/-/git/raw/main
|
||||||
# confhome_cn=https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main
|
# confhome_cn=https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main
|
||||||
|
|
||||||
# 默认密码
|
# 默认密码
|
||||||
|
Loading…
x
Reference in New Issue
Block a user