→ Extended variant of the AppImage runtime ←
This runtime is based on the AppImageKit src/runtime.c with a few extensions:
☑ All libraries except libc, libdl, libpthread are statically linked, in particular the libraries for SquashFs and FUSE.
☑ All compression formats supported by SquashFs are included in the runtime
binary.
☑ A smaller runtime-zstd
variant is provided that can only uncompress zstd SquashFs images.
Clone this project on Linux and run make
.
As described in the original
AppImageKit README,
to build an AppImage, append a SquashFs image with an /AppRun
executable to the runtime executable appimage-runtime
or
appimage-runtime-zstd
to form a packed AppImage executable.
mksquashfs Package.appdir/ appdir.sqfs -root-owned -noappend -no-exports \
-noI -b 1048576 -comp zstd -Xcompression-level 22
cat appimage-runtime-zstd appdir.sqfs > Package.AppImage
chmod +x Package.AppImage