This commit is contained in:
wenyifan 2023-12-28 17:34:43 +08:00
parent dab45deac9
commit d675782d29
2 changed files with 7 additions and 2 deletions

View File

@ -16,6 +16,11 @@ go build -buildvcs=false -ldflags "-w -s" -trimpath -a -o gost
export GOARCH=386
go build -buildvcs=false -ldflags "-w -s" -trimpath -a -o gost_x86
echo MacOS
export GOOS=darwin
export GOARCH=amd64
go build -buildvcs=false -ldflags "-w -s" -trimpath -a -o gost_osx
echo Android
export ANDROID_NDK_ROOT=$PWD/../../../android-ndk-r23b
export GOOS=android

View File

@ -1,9 +1,9 @@
package main
import (
"fmt"
"gopkg.in/yaml.v2"
"encoding/json"
"fmt"
"gopkg.in/yaml.v3"
"net/http"
"os"
"strings"