From 71133bb60ed73a637cadd6b1cfc3f295786fcd7a Mon Sep 17 00:00:00 2001 From: hermes Date: Sun, 16 Aug 2026 18:06:27 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=87=AA=E7=94=A8=20fork=20=E6=8C=87?= =?UTF-8?q?=E5=90=91=E6=9C=AC=E4=BB=93=E5=BA=93=20git.dr1997.com/public/re?= =?UTF-8?q?install,=20=E7=A7=BB=E9=99=A4=E4=B8=8A=E6=B8=B8=E5=BC=95?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - reinstall.sh/reinstall.bat confhome 改为 git.dr1997.com/public/reinstall/raw/main - confhome_cn 置空(本仓库即国内托管, 无需镜像) - 删除 sync_to_cnb.yml(上游 CI 同步 workflow, 引用 bin456789 仓库) --- .github/workflows/sync_to_cnb.yml | 18 ------------------ reinstall.bat | 7 ++++--- reinstall.sh | 8 +++++--- 3 files changed, 9 insertions(+), 24 deletions(-) delete mode 100644 .github/workflows/sync_to_cnb.yml diff --git a/.github/workflows/sync_to_cnb.yml b/.github/workflows/sync_to_cnb.yml deleted file mode 100644 index 1369e4c..0000000 --- a/.github/workflows/sync_to_cnb.yml +++ /dev/null @@ -1,18 +0,0 @@ -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 diff --git a/reinstall.bat b/reinstall.bat index aa69843..d2ca44b 100644 --- a/reinstall.bat +++ b/reinstall.bat @@ -2,9 +2,10 @@ mode con cp select=437 >nul setlocal EnableDelayedExpansion -set confhome=https://raw.githubusercontent.com/bin456789/reinstall/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 +set confhome=https://git.dr1997.com/public/reinstall/raw/main +set confhome_cn= +rem 本仓库自用 fork: confhome 指向 git.dr1997.com/public/reinstall +rem confhome_cn=https://git.dr1997.com/public/reinstall/raw/main set pkgs=curl,cpio,p7zip,dos2unix,jq,xz,gzip,zstd,openssl,bind-utils,libiconv,binutils set cmds=curl,cpio,p7zip,dos2unix,jq,xz,gzip,zstd,openssl,nslookup,iconv,ar diff --git a/reinstall.sh b/reinstall.sh index cc9c0f2..e91163a 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -6,9 +6,11 @@ # alpine 默认没有 bash,因此 shebang 用 sh,再 exec 切换到 bash set -eE -confhome=https://raw.githubusercontent.com/bin456789/reinstall/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=https://git.dr1997.com/public/reinstall/raw/main +confhome_cn= +# 本仓库自用 fork: confhome 指向 git.dr1997.com/public/reinstall +# 仓库托管于腾讯云(国内), 国内/海外均直连本仓库, 无需 confhome_cn +# confhome_cn=https://git.dr1997.com/public/reinstall/raw/main # 用于判断 reinstall.sh 和 trans.sh 是否兼容 SCRIPT_VERSION=4BACD833-A585-23BA-6CBB-9AA4E08E0004