diff --git a/scripts/lang/chs/9_upgrade.lang b/scripts/lang/chs/9_upgrade.lang index fab58d86..953ab36f 100644 --- a/scripts/lang/chs/9_upgrade.lang +++ b/scripts/lang/chs/9_upgrade.lang @@ -89,6 +89,7 @@ UPG_CUSTOM_CORE_MENU_MULTI="多版本内核" UPG_CUSTOM_CORE_LINK_HINT="请输入自定义内核的链接地址" UPG_CUSTOM_CORE_LINK_HINT2="(必须是以.tar.gz、.upx或.gz结尾的压缩文件)" UPG_CUSTOM_CORE_LINK_HINT3="或者输入 0 返回上级菜单" +UPG_CUSTOM_CORE_LINK_MENU="使用自定义内核链接" UPG_ZIPTYPE_TITLE="请选择内核分支及压缩方式:" UPG_ZIPTYPE_1="1) \033[36m最简编译release版本,upx压缩\033[0m" UPG_ZIPTYPE_1_HINT="不支持Gvisor、Tailscale、Wireguard、NaiveProxy" diff --git a/scripts/lang/en/9_upgrade.lang b/scripts/lang/en/9_upgrade.lang index e497aff3..ccd5e2b8 100644 --- a/scripts/lang/en/9_upgrade.lang +++ b/scripts/lang/en/9_upgrade.lang @@ -13,7 +13,7 @@ UPG_MENU_DB="Install/Update local " UPG_MENU_DB_NAME="Dashboard" UPG_MENU_CRT="Install/Update local " UPG_MENU_CRT_NAME="certificates" -UPG_MENU_PAC=" proxy view" +UPG_MENU_PAC="Auto proxy view" UPG_MENU_SOURCE="Switch " UPG_MENU_SOURCE_NAME="source and branch" UPG_MENU_UNINSTALL="Uninstall ShellCrash" @@ -89,6 +89,7 @@ UPG_CUSTOM_CORE_MENU_MULTI=" multi-version core" UPG_CUSTOM_CORE_LINK_HINT="Please enter the custom core URL" UPG_CUSTOM_CORE_LINK_HINT2="(must end with .tar.gz, .upx, or .gz)" UPG_CUSTOM_CORE_LINK_HINT3="Or enter 0 to return to the previous menu" +UPG_CUSTOM_CORE_LINK_MENU="Use custom core URL" UPG_ZIPTYPE_TITLE="Please choose the core branch and compression method:" UPG_ZIPTYPE_1="1) \033[36mMinimal release build, upx compressed\033[0m" UPG_ZIPTYPE_1_HINT="Gvisor, Tailscale, Wireguard, and NaiveProxy are not supported" @@ -174,8 +175,8 @@ UPG_CRT_WARN="This device may not have openssl installed, so certificate files c UPG_SOURCE_CUR="Current version: " UPG_SOURCE_CUR2="Current source: " UPG_SOURCE_TITLE="Switch ShellCrash version and update source" -UPG_SOURCE_SWITCH_STABLE="a) Switch to \033[32mstable-stable\033[0m" -UPG_SOURCE_SWITCH_MASTER="b) Switch to \033[36mmaster\033[0m" +UPG_SOURCE_SWITCH_STABLE="a) Switch to \033[32mstable\033[0m" +UPG_SOURCE_SWITCH_MASTER="b) Switch to \033[36mpublic beta-master\033[0m" UPG_SOURCE_SWITCH_DEV="c) Switch to \033[33mdev\033[0m" UPG_SOURCE_CUSTOM="d) Custom source URL (for local or self-hosted sources)" UPG_SOURCE_ROLLBACK="e) \033[31mVersion rollback\033[0m" diff --git a/scripts/menus/9_upgrade.sh b/scripts/menus/9_upgrade.sh index 99114fee..7040c16c 100644 --- a/scripts/menus/9_upgrade.sh +++ b/scripts/menus/9_upgrade.sh @@ -409,7 +409,7 @@ setcustcore() { "3) \033[36mSagerNet/sing-box\033[32m@release\033[0m$UPG_CUSTOM_CORE_MENU_OFFICIAL" \ "4) \033[36mDustinWin/mihomo\033[0m$UPG_CUSTOM_CORE_MENU_MULTI" \ "5) \033[36mDustinWin/sing-boxr\033[0m$UPG_CUSTOM_CORE_MENU_MULTI" \ - "$UPG_CORE_MENU_9" \ + "9) $UPG_CUSTOM_CORE_LINK_MENU" \ "" \ "0) $COMMON_BACK" read -r -p "$COMMON_INPUT> " num