VHSgunzo / uruntime

Universal RunImage and AppImage runtime with SquashFS and DwarFS supports
MIT License
4 stars 0 forks source link

Compatiblity with type2 runtime #1

Open Samueru-sama opened 5 days ago

Samueru-sama commented 5 days ago

This issue is just to keep track of the differences wrt to the current type2 runtime and see what will eventually be done for each case.

--appimage-extract is already implemented, however the resulting directory gets named AppDir instead of squashfs-root so this breaks compatiblity with scripts/programs tha expect a squashfs-root when extracting an AppImage. So there are two choices here:

Either keep the name or guarantee that compatibility.

However calling it squashfs-root is also wrong since it can be a dwarfs image instead. 😅

Also --appimage-extract <regex> isn't supported either, so doing --appimage-extract *desktop will extract the entire AppImage instead of just the top level .desktop file.


Here are some other missing features:

Edit: The type2-runtime also checks the FUSERMOUNT_PROG env variable which allows it to work when fuse is on a different location outside PATH.

VHSgunzo commented 5 days ago

export the env variables ARGV0 and APPIMAGE. There is also APPDIR and OWD but those are rarely used.

this was added in v0.0.1

squashfs-root

added symlink from AppDir to squashfs-root in v0.0.2 for appimage uruntime fixed --appimage-mount in v0.0.2