AppImage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
===Extract the contents of an AppImage=== | ===Extract the contents of an AppImage=== | ||
* < | * Compute offset in bytes: | ||
* | <pre> | ||
* < | $ f=$(xxd -e foo.AppImage | grep -m 1 -o "^.*73717368") | ||
* <code> | $ expr $(printf %d 0x$(echo $f | sed 's/:.*$//')) \ | ||
+ $(($(echo $f | awk '{ print length }')/8-2)) \* 4 | |||
</pre> | |||
* <code>$ unsquashfs -offset <bytes> foo.AppImage</code> | |||
===Some AppImages=== | ===Some AppImages=== | ||
Latest revision as of 22:16, 5 July 2021
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)