From 9a3e43b05df2e1e4f47ac004c9577bcb49f319e7 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Wed, 18 Dec 2024 23:43:34 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E6=9B=B4=E6=94=B9=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 11 ++++++----- README.md | 11 ++++++----- reinstall.bat | 4 ++-- reinstall.sh | 4 ++-- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/README.en.md b/README.en.md index f0d940f..c6ff62d 100644 --- a/README.en.md +++ b/README.en.md @@ -4,9 +4,10 @@ [![Codacy](https://img.shields.io/codacy/grade/dc679a17751448628fe6d8ac35e26eed?logo=Codacy&label=Codacy&style=flat-square)](https://app.codacy.com/gh/bin456789/reinstall/dashboard) [![CodeFactor](https://img.shields.io/codefactor/grade/github/bin456789/reinstall?logo=CodeFactor&logoColor=white&label=CodeFactor&style=flat-square)](https://www.codefactor.io/repository/github/bin456789/reinstall) -[![Lines of Code](https://tokei.rs/b1/github/bin456789/reinstall?category=code&label=Lines%20of%20Code&style=flat-square)](https://github.com/aschey/vercel-tokei) +[![Lines of Code](https://tokei.rs/b1/github/bin456789/reinstall?category=code&label=Lines%20of%20Code&style=flat-square)](https://github.com/XAMPPRocky/tokei) [![Telegram Group](https://img.shields.io/badge/Telegram-2CA5E0?style=flat-square&logo=telegram&logoColor=white)](https://t.me/reinstall_os) [![Github Sponsors](https://img.shields.io/badge/sponsor-30363D?style=flat-square&logo=GitHub-Sponsors&logoColor=#EA4AAA)](https://github.com/sponsors/bin456789) + One-Click Script to Reinstall System [中文](README.md) @@ -40,11 +41,11 @@ The system requirements for the target system are as follows: | Oracle | 7, 8, 9 | 512 MB \* | 5 GB | | RedHat   AlmaLinux   Rocky | 8, 9 | 512 MB \* | 5 GB | | OpenCloudOS | 8, 9 | 512 MB \* | 5 GB | -| CentOS | 9, 10 | 512 MB \* | 5 GB | +| CentOS | 9, 10 | 512 MB \* | 5 GB | | Fedora | 40, 41 | 512 MB \* | 5 GB | | openEuler | 20.03, 22.03, 24.03 | 512 MB \* | 5 GB | | openSUSE | 15.5, 15.6, Tumbleweed (Rolling) | 512 MB \* | 5 GB | -| NixOS | 24.11 | 512 MB | 5 GB | +| NixOS | 24.11 | 512 MB | 5 GB | | Arch | Rolling | 512 MB | 5 GB | | Gentoo | Rolling | 512 MB | 5 GB | | Windows (DD) | Any | 512 MB | Depending on the image | @@ -71,7 +72,7 @@ curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh For server inside China: ```bash -curl -O https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O reinstall.sh $_ +curl -O https://jihulab.com/bin456789/reinstall/-/raw/main/reinstall.sh || wget -O reinstall.sh $_ ``` ## Download (Current system is Windows) @@ -104,7 +105,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta For server inside China: ```batch -certutil -urlcache -f -split https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.bat +certutil -urlcache -f -split https://jihulab.com/bin456789/reinstall/-/raw/main/reinstall.bat ``` ## Usage diff --git a/README.md b/README.md index 0eeb9fe..2aa14cc 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,10 @@ [![Codacy](https://img.shields.io/codacy/grade/dc679a17751448628fe6d8ac35e26eed?logo=Codacy&label=Codacy&style=flat-square)](https://app.codacy.com/gh/bin456789/reinstall/dashboard) [![CodeFactor](https://img.shields.io/codefactor/grade/github/bin456789/reinstall?logo=CodeFactor&logoColor=white&label=CodeFactor&style=flat-square)](https://www.codefactor.io/repository/github/bin456789/reinstall) -[![Lines of Code](https://tokei.rs/b1/github/bin456789/reinstall?category=code&label=Lines%20of%20Code&style=flat-square)](https://github.com/aschey/vercel-tokei) +[![Lines of Code](https://tokei.rs/b1/github/bin456789/reinstall?category=code&label=Lines%20of%20Code&style=flat-square)](https://github.com/XAMPPRocky/tokei) [![Telegram Group](https://img.shields.io/badge/Telegram-2CA5E0?style=flat-square&logo=telegram&logoColor=white)](https://t.me/reinstall_os) [![Github Sponsors](https://img.shields.io/badge/sponsor-30363D?style=flat-square&logo=GitHub-Sponsors&logoColor=#EA4AAA)](https://github.com/sponsors/bin456789) + 一键重装脚本 [English](README.en.md) @@ -40,11 +41,11 @@ | Oracle | 7, 8, 9 | 512 MB \* | 5 GB | | RedHat   AlmaLinux   Rocky | 8, 9 | 512 MB \* | 5 GB | | OpenCloudOS | 8, 9 | 512 MB \* | 5 GB | -| CentOS | 9, 10 | 512 MB \* | 5 GB | +| CentOS | 9, 10 | 512 MB \* | 5 GB | | Fedora | 40, 41 | 512 MB \* | 5 GB | | openEuler | 20.03, 22.03, 24.03 | 512 MB \* | 5 GB | | openSUSE | 15.5, 15.6, Tumbleweed (滚动) | 512 MB \* | 5 GB | -| NixOS | 24.11 | 512 MB | 5 GB | +| NixOS | 24.11 | 512 MB | 5 GB | | Arch | 滚动 | 512 MB | 5 GB | | Gentoo | 滚动 | 512 MB | 5 GB | | Windows (DD) | 任何 | 512 MB | 取决于镜像 | @@ -71,7 +72,7 @@ curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh 国内服务器: ```bash -curl -O https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O reinstall.sh $_ +curl -O https://jihulab.com/bin456789/reinstall/-/raw/main/reinstall.sh || wget -O reinstall.sh $_ ``` ## 下载(当前系统是 Windows) @@ -104,7 +105,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta 国内服务器: ```batch -certutil -urlcache -f -split https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.bat +certutil -urlcache -f -split https://jihulab.com/bin456789/reinstall/-/raw/main/reinstall.bat ``` ## 使用 diff --git a/reinstall.bat b/reinstall.bat index 68d5f72..fdd13d0 100644 --- a/reinstall.bat +++ b/reinstall.bat @@ -3,8 +3,8 @@ mode con cp select=437 >nul setlocal EnableDelayedExpansion set confhome=https://raw.githubusercontent.com/bin456789/reinstall/main -set confhome_cn=https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main -rem set confhome_cn=https://jihulab.com/bin456789/reinstall/-/raw/main +set confhome_cn=https://jihulab.com/bin456789/reinstall/-/raw/main +rem set confhome_cn=https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main rem 65001 代码页会乱码 diff --git a/reinstall.sh b/reinstall.sh index 6077f1e..b796a3d 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -4,8 +4,8 @@ set -eE confhome=https://raw.githubusercontent.com/bin456789/reinstall/main -confhome_cn=https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main -# confhome_cn=https://jihulab.com/bin456789/reinstall/-/raw/main +confhome_cn=https://jihulab.com/bin456789/reinstall/-/raw/main +# confhome_cn=https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main # 默认密码 DEFAULT_PASSWORD=123@@@