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 4 months ago committed by GitHub
parent 743f2bccd6
commit 17d0227d74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -210,6 +210,7 @@ jobs:
chmod +x ./appimagetool ./*AppImage chmod +x ./appimagetool ./*AppImage
./"$APP-$VERSION-$ARCH.AppImage" --appimage-extract ./"$APP-$VERSION-$ARCH.AppImage" --appimage-extract
./appimagetool -s deploy squashfs-root/usr/share/applications/Helix.desktop ./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 ARCH=x86_64 VERSION="$VERSION-anylinux" ./appimagetool -s squashfs-root
mv *anylinux*AppImage dist mv *anylinux*AppImage dist
mv "$APP"-*-"$ARCH".AppImage \ mv "$APP"-*-"$ARCH".AppImage \

Loading…
Cancel
Save