From 7361d55e3a7313fe0e4409c60b994a00c49aa298 Mon Sep 17 00:00:00 2001 From: ffdfgdfg Date: Sun, 22 Dec 2019 19:33:32 +0800 Subject: [PATCH] temporary fix android internet permission --- build.android.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.android.sh b/build.android.sh index 1dd9e39..8191f3b 100644 --- a/build.android.sh +++ b/build.android.sh @@ -5,6 +5,17 @@ cd /go go get -u fyne.io/fyne fyne.io/fyne/cmd/fyne + +# temporary solution here to add android internet permission +rm -rf /go/bin/fyne +mkdir -p /go/src/github.com/ffdfgdfg +cd /go/src/github.com/ffdfgdfg +git clone https://github.com/ffdfgdfg/fyne.git +cd fyne +git checkout android-permission +go install ./cmd/fyne +cd /go + mkdir -p /go/src/github.com/cnlh/nps cp -R /app/* /go/src/github.com/cnlh/nps cd /go/src/github.com/cnlh/nps