summary refs log tree commit diff
path: root/.ci/linux/deploy.sh
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-05 17:56:02 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-05 17:56:02 +0200
commit7a653b208d693b3b83467d9f0869840996a488a5 (patch)
tree26902c01a81997d175fd72b9fff403bca5972ef4 /.ci/linux/deploy.sh
parentExclude modifier keys from triggering typing notifications (diff)
downloadnheko-7a653b208d693b3b83467d9f0869840996a488a5.tar.xz
Add build script for AppImage
Diffstat (limited to '.ci/linux/deploy.sh')
-rwxr-xr-x.ci/linux/deploy.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/.ci/linux/deploy.sh b/.ci/linux/deploy.sh
new file mode 100755
index 00000000..8d377e21
--- /dev/null
+++ b/.ci/linux/deploy.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+set -e
+
+mkdir -p appdir 
+cp build/nheko appdir/
+cp resources/nheko.desktop appdir/
+cp resources/nheko*.png appdir/
+
+wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
+chmod a+x linuxdeployqt*.AppImage
+
+unset QTDIR
+unset QT_PLUGIN_PATH 
+unset LD_LIBRARY_PATH
+
+./linuxdeployqt*.AppImage ./appdir/*.desktop -bundle-non-qt-libs
+./linuxdeployqt*.AppImage ./appdir/*.desktop -appimage