matrixion/.ci/linux/deploy.sh
2017-11-05 19:14:52 +02:00

21 lines
530 B
Bash
Executable file

#!/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
export ARTIFACT=nheko-x86_64.AppImage
chmod +x $ARTIFACT