mirror of https://github.com/helix-editor/helix
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
parent
743f2bccd6
commit
17d0227d74
|
@ -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…
Reference in New Issue