summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-01-25 23:07:44 +0200
committerPaul Buetow <paul@buetow.org>2024-01-25 23:07:44 +0200
commit61436f9c7e6c00e9cd2c7c9d0d1d8d5cd93203bf (patch)
treec39007a628004a49f7358dfbb1ba0ba61942bb80 /build.sh
parentfa83a3485af2181de73033ff2dea371872822452 (diff)
add build script
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..fb81258
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+if [ -z "$ANDORID_NDK_HOME" ]; then
+ # This is where I personally have installed the Android NDK
+ export ANDROID_NDK_HOME=~/android-ndk/android-ndk-r26b
+fi
+
+fyne package -os android -appID org.buetow.quicklogger -icon logo-small.png
+
+if [ -d ~/Documents/APKs ]; then
+ # Will be synced to my phone by Syncthing, so I can install it there.
+ cp -v quicklogger.apk ~/Documents/APKs
+fi
+