hack: overwrite appimagetool command

This commit is contained in:
Erica Marigold 2023-08-04 18:17:20 +05:30 committed by GitHub
parent 86cc8ba630
commit 16e6a60b06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,10 +35,16 @@ jobs:
export LUNE_VERSION=0.7.5
export SYSTEM_ARCH=${{ matrix.arch }}
apt update
apt install imagemagick file desktop-file-utils curl wget dpkg-dev unzip fuse libfuse2 -y
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-$SYSTEM_ARCH.AppImage -O /usr/bin/appimagetool
appimagetool()
/usr/bin/appimagetool "$@"
export -f /usr/bin/appimagetool
cd /build
./pkg2appimage/pkg2appimage lune.yml
mv ./out/lune-*.AppImage ./out/lune-$LUNE_VERSION.glibc2.34-$(uname -m).AppImage