2021-03-07 20:42:48 +00: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-12 01:19:33 +00:00
|
|
|
cp build/install/{hecl,metaforce-gui,metaforce,visigen} appdir/usr/bin
|
2021-04-06 22:58:11 +00: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 15:12:50 +00:00
|
|
|
VERSION="$METAFORCE_VERSION" NO_STRIP=1 ./linuxdeploy-$(uname -m).AppImage --appdir appdir --plugin qt --output appimage
|