summary refs log tree commit diff
path: root/.ci/linux/deploy.sh
diff options
context:
space:
mode:
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