AppImage

From Notes to self
Jump to navigation Jump to search

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