mirror of
https://github.com/boringproxy/boringproxy.git
synced 2025-02-25 18:55:29 -06:00
Client seems to be working when run manually with adb shell from /data/local/tmp/ on a Moto G Power. Server fails when trying to write /.local for the certs.
27 lines
446 B
Bash
Executable File
27 lines
446 B
Bash
Executable File
#/bin/bash
|
|
|
|
version=$(git describe --tags)
|
|
|
|
function buildArch {
|
|
echo Building platform $1-$2
|
|
GOOS=$1 GOARCH=$2 go build -o build/boringproxy-$1-$2$3
|
|
}
|
|
|
|
./scripts/generate_logo.sh
|
|
|
|
rice embed-go
|
|
|
|
buildArch linux 386
|
|
buildArch linux amd64
|
|
buildArch linux arm
|
|
buildArch linux arm64
|
|
|
|
./scripts/build_android.sh
|
|
|
|
buildArch windows 386 .exe
|
|
buildArch windows amd64 .exe
|
|
|
|
buildArch darwin amd64
|
|
|
|
tar -czf ./boringproxy_${version}.tar.gz build/
|