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

@ -34,10 +34,16 @@ jobs:
run: | run: |
export LUNE_VERSION=0.7.5 export LUNE_VERSION=0.7.5
export SYSTEM_ARCH=${{ matrix.arch }} export SYSTEM_ARCH=${{ matrix.arch }}
apt update apt update
apt install imagemagick file desktop-file-utils curl wget dpkg-dev unzip fuse libfuse2 -y 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 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 cd /build
./pkg2appimage/pkg2appimage lune.yml ./pkg2appimage/pkg2appimage lune.yml