From 24ea80abfdb2999d9a143434e2e1fc1430e7ec88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=B5=E4=BA=8C?= <66155308+miaoermua@users.noreply.github.com> Date: Wed, 17 Jul 2024 09:58:18 +0800 Subject: [PATCH 1/2] Update: support BETA version use apply_repo --- cattools.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cattools.sh b/cattools.sh index 3585c24..00896a2 100644 --- a/cattools.sh +++ b/cattools.sh @@ -593,9 +593,9 @@ apply_repo() { elif [ "$version" == "v23.8" ]; then REPO_URL="$BASE_URL/amd64" elif [ "$version" == "v24.3" ]; then - REPO_URL="$BASE_URL/repo/pr/v24.3/amd64" + REPO_URL="$BASE_URL/pr/v24.3/amd64" elif [ "$version" == "v24.8" ]; then - REPO_URL="$BASE_URL/repo/pr/v24.3/amd64" + REPO_URL="$BASE_URL/pr/v24.3/amd64" else echo "Unknown arch $arch /// 未知的架构: $arch" exit 1 @@ -609,7 +609,7 @@ apply_repo() { elif [ "$version" == "v23.8" ]; then REPO_URL="$BASE_URL/mt798x" elif [ "$version" == "v24.3" ]; then - REPO_URL="$BASE_URL/repo/pr/v24.3/mt798x" + REPO_URL="$BASE_URL/pr/v24.3/mt798x" else echo "Unknown arch mt798x /// 未知的 mt798x 版本" exit 1 @@ -619,7 +619,7 @@ apply_repo() { if [ "$version" == "v22.12" ]; then REPO_URL="$BASE_URL/rkarm" elif [ "$version" == "v24.1" ]; then - REPO_URL="$BASE_URL/repo/pr/v24.1/rkarm" + REPO_URL="$BASE_URL/pr/v24.1/rkarm" else echo "Unknown arch rkarm /// 未知的 rkarm 版本" exit 1 From 0329bba9807345de5807fa25ac6977c48f982246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=B5=E4=BA=8C?= <66155308+miaoermua@users.noreply.github.com> Date: Wed, 17 Jul 2024 10:13:52 +0800 Subject: [PATCH 2/2] Update cattools.sh --- cattools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cattools.sh b/cattools.sh index 00896a2..9bddeea 100644 --- a/cattools.sh +++ b/cattools.sh @@ -919,7 +919,7 @@ sysupgrade() { } # catwrt_opkg_list_installed -catwrt_opkg_list_installed(){ +catwrt_opkg_list_installed() { PACKAGES=( "luci-app-adbyby-plus" "luci-i18n-adbyby-plus-zh-cn"