Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back runtime.c --appimage-extract-and-run #24

Open
probonopd opened this issue May 5, 2022 · 2 comments
Open

Add back runtime.c --appimage-extract-and-run #24

probonopd opened this issue May 5, 2022 · 2 comments

Comments

@probonopd
Copy link
Owner

  • Add back --appimage-extract-and-run
  • Possibly print a command that can dump ELF sections
@probonopd
Copy link
Owner Author

--appimage-extract-and-run is implemented.

@probonopd
Copy link
Owner Author

probonopd commented Sep 17, 2022

But does not seem to work always, e.g., here on FreeBSD:

FreeBSD% env TARGET_APPIMAGE=~/Downloads/PrusaSlicer-2.4.0-alpha1+linux-x64-202109011425.AppImage ./runtime-fuse2-x86_64 --appimage-extract 
Cannot open ~/Downloads/PrusaSlicer-2.4.0-alpha1+linux-x64-202109011425.AppImage: No such file or directory
Failed to get fs offset for ~/Downloads/PrusaSlicer-2.4.0-alpha1+linux-x64-202109011425.AppImage

But this works (apart from the fact that we haven't compiled in zlib here, which can easily be changed):

FreeBSD% cp ~/Downloads/PrusaSlicer-2.4.0-alpha1+linux-x64-202109011425.AppImage PS.AppImage
FreeBSD% env TARGET_APPIMAGE=PS.AppImage ./runtime-fuse2-x86_64 --appimage-extract
Squashfs image uses zlib compression, this version supports only zstd.
Failed to open squashfs image

So somehow the path parsing seems to be messed up?

@probonopd probonopd changed the title Add back runtime.c missing functionality Add back runtime.c --appimage-extract-and-run Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant