2017-11-05 18:56:02 +03:00
|
|
|
#!/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
|
2017-11-05 20:14:52 +03:00
|
|
|
|
|
|
|
export ARTIFACT=nheko-x86_64.AppImage
|
|
|
|
chmod +x $ARTIFACT
|