Skip to content

Commit

Permalink
update sing-box repo
Browse files Browse the repository at this point in the history
  • Loading branch information
maskedeken committed Mar 30, 2023
1 parent 23a77c9 commit af7b312
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
8 changes: 6 additions & 2 deletions app_singbox/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ setupAll()
android {
defaultConfig {
applicationId = "moe.matsuri.plugin.singbox"
versionCode = 7
versionName = "v1.2.1"
versionCode = 8
versionName = "v1.2.1-1"
splits.abi {
reset()
include("arm64-v8a", "armeabi-v7a")
}
}
}
10 changes: 2 additions & 8 deletions download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,8 @@ download_xray() {
download_singbox() {
VERSION="1.2.1"
mkdir_libs "app_singbox/libs"
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/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
dl_and_chmod arm64-v8a/libsingbox.so "https://github.com/maskedeken/sing-box/releases/download/$VERSION/sing-box-android-arm64"
dl_and_chmod armeabi-v7a/libsingbox.so "https://github.com/maskedeken/sing-box/releases/download/$VERSION/sing-box-android-arm"
}

dl_and_chmod() {
Expand Down

0 comments on commit af7b312

Please sign in to comment.