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

appimagetool -s deploy breaks things like qApp->applicationDirPath() #260

Open
probonopd opened this issue Jul 10, 2023 · 0 comments
Open

Comments

@probonopd
Copy link
Owner

appimagetool -s deploy breaks things like qApp->applicationDirPath().

Murmele/Gittyup#579 (comment) contains a potential solution.

Maybe we should symlink ld-linux into each directory that contains ELF executables (e.g., usr/bin inside the AppImage), or symlink/move it at least into the directory of the main application.

Complication: We are looking for different payload applications when invoked through differently named symlinks. Those payload applications might be at different paths in the AppImage.

Potential heuristic:
Check the PATH variable in the AppRun we generate, and put one such symlink into each of those directories from the PATH that exist in the AppImage. When launching a payload application, always launch it through the ld-linux that is in the same directory as the payload application.

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