CI/AppImage: Set `$HELIX_RUNTIME` env variable

Go-appimagetool replaces the existing AppRun, as result the env variable from the original appimage was missing.
pull/11243/head
Samuel 2024-07-22 18:32:35 -04:00 committed by GitHub
parent 743f2bccd6
commit 17d0227d74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -210,6 +210,7 @@ jobs:
chmod +x ./appimagetool ./*AppImage
./"$APP-$VERSION-$ARCH.AppImage" --appimage-extract
./appimagetool -s deploy squashfs-root/usr/share/applications/Helix.desktop
sed -i '13i\export HELIX_RUNTIME="${HERE}"/usr/lib/helix/runtime' squashfs-root/AppRun
ARCH=x86_64 VERSION="$VERSION-anylinux" ./appimagetool -s squashfs-root
mv *anylinux*AppImage dist
mv "$APP"-*-"$ARCH".AppImage \