From dcc528805e7b955484df27ca93107880efda77b0 Mon Sep 17 00:00:00 2001 From: stereomonk Date: Sat, 13 Jun 2026 08:47:01 +0300 Subject: [PATCH 1/2] refactor: add tip if DATADIR missing --- gen_assets.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gen_assets.sh b/gen_assets.sh index b69c8085..bd076f90 100644 --- a/gen_assets.sh +++ b/gen_assets.sh @@ -21,6 +21,11 @@ check_dependencies() { # Download data function download_dat() { + if [[ ! -d "$DATADIR" ]]; then + echo "Downloading failed \"$DATADIR\" does not exists" + exit 1 + fi + echo "Downloading geoip.dat..." curl -sL https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -o "$DATADIR/geoip.dat" From 14e5692bdd8b5d51ceb80d4fb28bcdd1e80e4a07 Mon Sep 17 00:00:00 2001 From: stereomonk Date: Sat, 13 Jun 2026 08:48:32 +0300 Subject: [PATCH 2/2] doc: tune README.md for new verison --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 12104fae..7b1e53ea 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,4 @@ 1. `git clone [repo] && cd AndroidLibXrayLite` 2. `gomobile init` 3. `go mod tidy -v` -4. `gomobile bind -v -androidapi 21 -ldflags='-s -w' ./` +4. `gomobile bind -v -androidapi 24 -trimpath -ldflags='-s -w -buildid= -checklinkname=0' ./`