mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-11-23 10:01:11 +01:00
Fix F-Droid build
This commit is contained in:
parent
c20e334ab9
commit
47c813ba92
@ -6,3 +6,6 @@ source "bin/init/env.sh"
|
||||
# Native dependencies
|
||||
bin/init/libs/ffmpeg.sh
|
||||
bin/init/libs/boringssl.sh
|
||||
|
||||
# Build v2ray-core
|
||||
bin/libs/v2ray/build.sh
|
@ -5,6 +5,16 @@ source "bin/init/env.sh"
|
||||
echo "sdk.dir=$ANDROID_HOME" >>local.properties
|
||||
echo "ndk.dir=$ANDROID_NDK_HOME" >>local.properties
|
||||
|
||||
# Install Golang
|
||||
curl -o golang.tar.gz https://storage.googleapis.com/golang/go1.16.linux-amd64.tar.gz
|
||||
mkdir "$HOME/.go"
|
||||
tar -C "$HOME/.go" --strip-components=1 -xzf golang.tar.gz
|
||||
rm golang.tar.gz
|
||||
export PATH="$PATH:$HOME/.go/bin"
|
||||
go version || exit 1
|
||||
|
||||
bin/libs/v2ray/init.sh
|
||||
|
||||
## Remove unused non-free dependencies
|
||||
pushd TMessagesProj
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
RELEASE_KEY_PASSWORD=android
|
||||
RELEASE_KEY_ALIAS=androidkey
|
||||
RELEASE_STORE_PASSWORD=android
|
||||
org.gradle.jvmargs=-XX:MaxPermSize=16384m
|
||||
org.gradle.jvmargs=-XX:MaxPermSize=4096m
|
||||
org.gradle.daemon=true
|
||||
org.gradle.parallel=true
|
||||
org.gradle.configureondemand=false
|
||||
|
Loading…
Reference in New Issue
Block a user