AppImage: Difference between revisions

From Notes to self
Jump to navigation Jump to search
Line 1: Line 1:
===Extract the contents of an AppImage===
===Extract the contents of an AppImage===
* <code>$ foo.AppImage --appimage-offset</code>
* <code>$ xxd -e foo.AppImage | grep -m 1 73717368</code>
* <code># mount my.AppImage /mnt -o offset=<''offset''></code>
::This gives the offset in hex.
* <code># mkdir /opt/foo</code>
* <code>$ unsquashfs -offset XXXXX nvim.appimage</code>
* <code># cp -a /mnt/* /opt/foo</code>
::Here XXXXX is the offset in decimal.
* <code># umount /mnt</code>


===Some AppImages===
===Some AppImages===

Revision as of 20:30, 2 July 2021

Extract the contents of an AppImage

  • $ xxd -e foo.AppImage | grep -m 1 73717368
This gives the offset in hex.
  • $ unsquashfs -offset XXXXX nvim.appimage
Here XXXXX is the offset in decimal.

Some AppImages