mirror of https://github.com/helix-editor/helix
CI/AppImage: Make anylinux appimage
Uses go-appimage to make an appimage with bundled glibc, which increases the compatibility of the appimage to any linux distribution.pull/11243/head
parent
dbaa636683
commit
f350e4f967
|
@ -203,8 +203,17 @@ jobs:
|
|||
--appdir "$APP.AppDir" -d contrib/Helix.desktop \
|
||||
-i contrib/helix.png --output appimage
|
||||
|
||||
mv "$APP-$VERSION-$ARCH.AppImage" \
|
||||
"$APP-$VERSION-$ARCH.AppImage.zsync" dist
|
||||
# anylinux appimage
|
||||
APPIMAGETOOL=$(wget -q https://api.github.com/repos/probonopd/go-appimage/releases -O - \
|
||||
| sed 's/[()",{} ]/\n/g' | grep -oi 'https.*continuous.*tool.*86_64.*mage$')
|
||||
wget -q "$APPIMAGETOOL" -O ./appimagetool
|
||||
chmod +x ./appimagetool
|
||||
"$APP-$VERSION-$ARCH.AppImage" --appimage-extract
|
||||
./appimagetool -s deploy squashfs-root/usr/share/applications/Helix.desktop
|
||||
ARCH=x86_64 VERSION="$VERSION-anylinux" ./appimagetool -s squashfs-root
|
||||
mv *anylinux*AppImage dist
|
||||
mv "$APP"-*-"$ARCH.AppImage".AppImage \
|
||||
"$APP"-*-"$ARCH.AppImage".AppImage.zsync dist
|
||||
|
||||
- name: Build archive
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in New Issue