From 17d0227d74fec47575ff740ec4c21210ea9c4c6a Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Mon, 22 Jul 2024 18:32:35 -0400 Subject: [PATCH] CI/AppImage: Set `$HELIX_RUNTIME` env variable Go-appimagetool replaces the existing AppRun, as result the env variable from the original appimage was missing. --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b9467e63..05cf67a46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 \