From 8311c8bd77f24a3b52456111560bc0ac5a8b6af2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B2=B3?= Date: Tue, 17 Dec 2019 00:47:07 +0800 Subject: [PATCH] change build.sh --- .travis.yml | 2 +- build.android.sh | 4 ++-- build.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 build.sh diff --git a/.travis.yml b/.travis.yml index 19b2209..d5c3457 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/build.android.sh b/build.android.sh index 2b97c06..c9c3cbe 100644 --- a/build.android.sh +++ b/build.android.sh @@ -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 \ No newline at end of file +mv npc.apk ../../android_client.apk diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 index 06fa2bc..431541b --- a/build.sh +++ b/build.sh @@ -1,4 +1,4 @@ -#!/bash/sh +#/bash/sh export VERSION=0.25.2 sudo apt-get install gcc-mingw-w64-i686