From 9ae34058131a2889587e7e85a411d9b0af8fe718 Mon Sep 17 00:00:00 2001 From: Super Manito <68613938+SuperManito@users.noreply.github.com> Date: Sun, 27 Apr 2025 00:37:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeMirrors.sh | 16 ++++++++-------- DockerInstallation.sh | 16 ++++++++-------- docs/other/index.md | 1 + docs/use/index.md | 1 + 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/ChangeMirrors.sh b/ChangeMirrors.sh index bd249af..b4ffd29 100755 --- a/ChangeMirrors.sh +++ b/ChangeMirrors.sh @@ -632,16 +632,17 @@ function run_end() { return fi local sponsor_ad=( - "🔥 1Panel · Linux 面板|极简运维 ➜ https://1panel.cn" - "🔥 林枫云 · 专注独立IP高频VPS|R9/i9系列定制 ➜ https://www.dkdun.cn" - "🔥 乔星欢 · 香港4核4G服务器28元起_香港500Mbps大带宽 ➜ https://www.qiaoxh.com" - "🔥 速拓云 · 国内高防云服务器新用户享5折优惠 ➜ https://www.sutuoyun.com" - "🔥 云悠YUNYOO · 全球高性价比云服务器|低至15.99元起 ➜ https://yunyoo.cc" - "🔥 圣道云 · 稳定高效云服务器|低至9.9元/月起 ➜ https://www.shengdaoyun.com" + "1Panel · Linux 面板|极简运维 ➜ https://1panel.cn" + "林枫云 · 专注独立IP高频VPS|R9/i9系列定制 ➜ https://www.dkdun.cn" + "乔星欢 · 香港4核4G服务器28元起_香港500Mbps大带宽 ➜ https://www.qiaoxh.com" + "速拓云 · 国内高防云服务器新用户享5折优惠 ➜ https://www.sutuoyun.com" + "云悠YUNYOO · 全球高性价比云服务器|低至15.99元起 ➜ https://yunyoo.cc" + "圣道云 · 稳定高效云服务器|低至9.9元/月起 ➜ https://www.shengdaoyun.com" ) echo -e "\n✨ 脚本运行完毕,更多使用教程详见官网 👉 \033[3mhttps://linuxmirrors.cn\033[0m\n" for ad in "${sponsor_ad[@]}"; do - echo -e " ${ad} \033[3;2m【广告】\033[0m" + sleep 0.1 + echo -e " \033[2m${ad} \033[3m【广告】\033[0m\033[0m" done echo -e "\n\033[3;1mPowered by \033[34mLinuxMirrors\033[0m\n" } @@ -2749,7 +2750,6 @@ function interactive_select_boolean() { echo -e "╰─ \033[2m○ 是 / \033[0m\033[34m●\033[0m 否" fi } - function read_key() { IFS= read -rsn1 key if [[ $key == $'\x1b' ]]; then diff --git a/DockerInstallation.sh b/DockerInstallation.sh index 42b3925..da8b6b8 100755 --- a/DockerInstallation.sh +++ b/DockerInstallation.sh @@ -341,16 +341,17 @@ function run_end() { return fi local sponsor_ad=( - "🔥 1Panel · Linux 面板|极简运维 ➜ https://1panel.cn" - "🔥 林枫云 · 专注独立IP高频VPS|R9/i9系列定制 ➜ https://www.dkdun.cn" - "🔥 乔星欢 · 香港4核4G服务器28元起_香港500Mbps大带宽 ➜ https://www.qiaoxh.com" - "🔥 速拓云 · 国内高防云服务器新用户享5折优惠 ➜ https://www.sutuoyun.com" - "🔥 云悠YUNYOO · 全球高性价比云服务器|低至15.99元起 ➜ https://yunyoo.cc" - "🔥 圣道云 · 稳定高效云服务器|低至9.9元/月起 ➜ https://www.shengdaoyun.com" + "1Panel · Linux 面板|极简运维 ➜ https://1panel.cn" + "林枫云 · 专注独立IP高频VPS|R9/i9系列定制 ➜ https://www.dkdun.cn" + "乔星欢 · 香港4核4G服务器28元起_香港500Mbps大带宽 ➜ https://www.qiaoxh.com" + "速拓云 · 国内高防云服务器新用户享5折优惠 ➜ https://www.sutuoyun.com" + "云悠YUNYOO · 全球高性价比云服务器|低至15.99元起 ➜ https://yunyoo.cc" + "圣道云 · 稳定高效云服务器|低至9.9元/月起 ➜ https://www.shengdaoyun.com" ) echo -e "\n✨ 脚本运行完毕,更多使用教程详见官网 👉 \033[3mhttps://linuxmirrors.cn\033[0m\n" for ad in "${sponsor_ad[@]}"; do - echo -e " ${ad} \033[3;2m【广告】\033[0m" + sleep 0.1 + echo -e " \033[2m${ad} \033[3m【广告】\033[0m\033[0m" done echo -e "\n\033[3;1mPowered by \033[34mLinuxMirrors\033[0m\n" } @@ -1314,7 +1315,6 @@ function interactive_select_boolean() { echo -e "╰─ \033[2m○ 是 / \033[0m\033[34m●\033[0m 否" fi } - function read_key() { IFS= read -rsn1 key if [[ $key == $'\x1b' ]]; then diff --git a/docs/other/index.md b/docs/other/index.md index d1c848e..4354bc2 100644 --- a/docs/other/index.md +++ b/docs/other/index.md @@ -193,6 +193,7 @@ hide: --close-firewall true \ --ignore-backup-tips ``` + > 如果报错 `命令选项无效` 那么请检查选项合法性以及空格字符编码,示例中选项一行写一个是为了提高阅读性 - #### 纯净模式 diff --git a/docs/use/index.md b/docs/use/index.md index 41bca4d..5f6e222 100644 --- a/docs/use/index.md +++ b/docs/use/index.md @@ -593,6 +593,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help --clean-cache false \ --ignore-backup-tips ``` + > 如果报错 `命令选项无效` 那么请检查选项合法性以及空格字符编码,示例中选项一行写一个是为了提高阅读性 - ### 纯净模式