From 7610b80fc2b45fe0c6ae7701359c0ac0daf96c7b Mon Sep 17 00:00:00 2001 From: Eken Chan Date: Fri, 24 Mar 2023 09:50:36 +0800 Subject: [PATCH] update sing-box to v1.2.0 --- app_singbox/build.gradle.kts | 8 ++------ download.sh | 9 +++++++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app_singbox/build.gradle.kts b/app_singbox/build.gradle.kts index 874f8fb..230ca37 100644 --- a/app_singbox/build.gradle.kts +++ b/app_singbox/build.gradle.kts @@ -8,11 +8,7 @@ setupAll() android { defaultConfig { applicationId = "moe.matsuri.plugin.singbox" - versionCode = 5 - versionName = "v1.2-beta10" - splits.abi { - reset() - include("arm64-v8a", "x86_64") - } + versionCode = 6 + versionName = "v1.2.0" } } diff --git a/download.sh b/download.sh index 439e73a..d7fd495 100755 --- a/download.sh +++ b/download.sh @@ -37,10 +37,15 @@ download_xray() { } download_singbox() { + VERSION="1.2.0" mkdir_libs "app_singbox/libs" - curl -Lso singbox.tar.gz "https://github.com/SagerNet/sing-box/releases/download/v1.2-beta10/sing-box-1.2-beta10-android-arm64.tar.gz" + curl -Lso singbox.tar.gz "https://github.com/SagerNet/sing-box/releases/download/v$VERSION/sing-box-$VERSION-android-arm64.tar.gz" unzip_singbox arm64-v8a - curl -Lso singbox.tar.gz "https://github.com/SagerNet/sing-box/releases/download/v1.2-beta10/sing-box-1.2-beta10-android-amd64.tar.gz" + curl -Lso singbox.tar.gz "https://github.com/SagerNet/sing-box/releases/download/v$VERSION/sing-box-$VERSION-android-armv7.tar.gz" + unzip_singbox armeabi-v7a + curl -Lso singbox.tar.gz "https://github.com/SagerNet/sing-box/releases/download/v$VERSION/sing-box-$VERSION-android-386.tar.gz" + unzip_singbox x86 + curl -Lso singbox.tar.gz "https://github.com/SagerNet/sing-box/releases/download/v$VERSION/sing-box-$VERSION-android-amd64.tar.gz" unzip_singbox x86_64 }