mgord9518 / shappimage

An AppImage implementation made in shell script
Other
12 stars 2 forks source link

How can I integrate this into my project? #8

Closed xplshn closed 3 weeks ago

xplshn commented 3 weeks ago

Hi, this is a very interesting project. I have a similar one, except it is works on *BSD platforms, Linux, OpenIndiana and etc. I wanted to borrow some code from this project, but I couldn't find the part where the squashfs archive gets mounted, its a bit intrincate. I'd appreciate it if you could help me implement this in PELF or guide me a bit on what I should do to achieve this, I'd appreciate it very much:

mgord9518 commented 3 weeks ago

Thanks for taking interest! Our projects seem to have a very similar goal.

For mounting the bundle, this code is the most relevant. Much of it is extracting a static binary of my squashfuse-zig project which allows SquashFS images to be mounted without root permissions. So long as you have the offset of the SquashFS image in the file, mounting it is no issue

xplshn commented 3 weeks ago

thanks!