AppImage
Extract the contents of an AppImage
- Compute offset in bytes:
$ f=$(xxd -e foo.AppImage | grep -m 1 -o "^.*73717368")
$ expr $(printf %d 0x$(echo $f | sed 's/:.*$//')) \
+ $(($(echo $f | awk '{ print length }')/8-2)) \* 4
$ unsquashfs -offset <bytes> foo.AppImage
Some AppImages
- https://github.com/aferrero2707/gimp-appimage/releases (GIMP_AppImage-release-X.X.X-withplugins-x86_64.AppImage)
- https://github.com/neovim/neovim/releases (nvim.appimage)