Go inside .AppImage with shell script

Hey, I am working on a software that I compiled in an .appimage application, everything works but I have a problem : the software provides bash scripts that have paths that refer to packages located inside the .appImage. But an .appimage application is not a normal folder, you can’t get into it by simply entering the path to the package you want. So I would like to know if it is possible to run a script (outside of the appplication) that has paths that refer to packages within the application?

I was thinking of changing the .appimage to a .zip or something at the beginning of each script to be able to ‘‘get in’’ … but it’s a bit barbaric.

Thks for help, baptiste

the software provides bash scripts that have paths that refer to packages located inside the .appImage

Your software needs to find out the absolute path to itself (e.g., using readlink -f /proc/self/exe), and construct an absolute path to your script(s) based on that information.