change build.sh

This commit is contained in:
刘河 2019-12-17 00:47:07 +08:00
parent 4899bbd9d5
commit 8311c8bd77
3 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ script:
os:
- linux
before_deploy:
- chmod +x ./build.sh && ./build.sh
- chmod +x ./build.sh && chmod +x ./build.android.sh && ./build.sh
deploy:
provider: releases

View File

@ -1,4 +1,4 @@
#!/bin/bash
#/bin/bash
#sudo apt-get install libgl1-mesa-dev xorg-dev
#go get github.com/ffdfgdfg/fyne-cross
#fyne-cross --targets=linux/amd64,windows/amd64,darwin/amd64 gui/npc/npc.go
@ -11,4 +11,4 @@ cd ..
rm -rf vendor
cd gui/npc
fyne package -os android -appID org.nps.client -icon ../../docs/logo.png
mv npc.apk ../../android_client.apk
mv npc.apk ../../android_client.apk

2
build.sh Normal file → Executable file
View File

@ -1,4 +1,4 @@
#!/bash/sh
#/bash/sh
export VERSION=0.25.2
sudo apt-get install gcc-mingw-w64-i686