metaforce/ci/build-appimage.sh

14 lines
855 B
Bash
Raw Normal View History

2021-03-07 12:42:48 -08:00
#!/bin/bash -ex
# Get linuxdeploy
curl -OL https://github.com/encounter/linuxdeploy/releases/download/continuous/linuxdeploy-$(uname -m).AppImage
curl -OL https://github.com/encounter/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-$(uname -m).AppImage
chmod +x linuxdeploy-$(uname -m).AppImage linuxdeploy-plugin-qt-$(uname -m).AppImage
# Build AppImage
mkdir -p appdir/usr/{bin,share/{applications,icons/hicolor}}
2021-06-11 18:19:33 -07:00
cp build/install/{hecl,metaforce-gui,metaforce,visigen} appdir/usr/bin
2021-04-06 15:58:11 -07:00
cp -r metaforce-gui/platforms/freedesktop/{16x16,32x32,48x48,64x64,128x128,256x256,512x512,1024x1024} appdir/usr/share/icons/hicolor
cp metaforce-gui/platforms/freedesktop/metaforce.desktop appdir/usr/share/applications
2021-04-07 08:12:50 -07:00
VERSION="$METAFORCE_VERSION" NO_STRIP=1 ./linuxdeploy-$(uname -m).AppImage --appdir appdir --plugin qt --output appimage