summaryrefslogtreecommitdiff
path: root/build.sh
blob: 1baaf807ee2f405ccedeabd33620abb80edab5cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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

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