1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-12-14 18:49:34 +01:00
NekoX/bin/libs/v2ray/build.sh
2021-03-09 21:20:23 +08:00

13 lines
266 B
Bash
Executable File

#!/usr/bin/env bash
source "bin/init/env.sh"
export GO111MOUDLE=on
export GO386=softfloat
cd "$PROJECT/v2ray"
gomobile init
gomobile bind -v -ldflags='-s -w' . || exit 1
mkdir -p "$PROJECT/TMessagesProj/libs"
/bin/cp -f libv2ray.aar "$PROJECT/TMessagesProj/libs"