diff --git a/build.sh b/build.sh index 002a164e..0bc2285f 100755 --- a/build.sh +++ b/build.sh @@ -32,8 +32,11 @@ fi echo "Building AndroidLibXrayLite (libv2ray.aar)..." pushd "$__dir/AndroidLibXrayLite" >/dev/null +mkdir -p assets data +bash gen_assets.sh download +cp -v data/*.dat assets/ go mod tidy -gomobile bind -v -androidapi 21 -ldflags='-s -w' -o libv2ray.aar ./ +gomobile bind -v -androidapi 24 -trimpath -ldflags='-s -w -buildid=' -o libv2ray.aar ./ popd >/dev/null echo "Building hev-socks5-tunnel..." diff --git a/compile-hevtun.sh b/compile-hevtun.sh old mode 100644 new mode 100755