AppRun directories

Hi! How to export my program directories to another directory in the AppRun file? For example src directory:
/usr/share/app/src in /user/.local/share/app/src ?

Or is it easier to do it in the code of the program itself?

You can add and modify files in the AppDir prior to packaging it as much as you want. Just make sure the program will know where to look. In your shoes I’d avoid forking the source of AppRun, since then you won’t get any updates down the line.

I don’t know exactly what you mean by this.

Your application should be written in a way that it assumes no hardcoded paths for what is contained inside the AppDir/AppImages. Those paths should be determined relative to the main executable file of your application.

E.g., in Qt, you can use QCoreApplication Class | Qt Core 5.15.16 to construct such paths.