mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 11:44:55 +00:00
Archive GitHub actions build artifacts
This commit is contained in:
15
ci/build-appimage.sh
Normal file
15
ci/build-appimage.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/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}}
|
||||
cp build/Binaries/{hecl,hecl-gui,urde,visigen} appdir/usr/bin
|
||||
strip -s appdir/usr/bin/{hecl,hecl-gui,urde,visigen}
|
||||
cp -r Editor/platforms/freedesktop/{16x16,32x32,48x48,64x64,128x128,256x256,512x512,1024x1024} appdir/usr/share/icons/hicolor
|
||||
cp Editor/platforms/freedesktop/urde.desktop appdir/usr/share/applications
|
||||
sed -i 's/Exec=.*/Exec=hecl-gui/' appdir/usr/share/applications/urde.desktop
|
||||
./linuxdeploy-$(uname -m).AppImage --appdir appdir --plugin qt --output appimage
|
||||
Reference in New Issue
Block a user