-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fix AppRun path issue #12643
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
base: develop
Are you sure you want to change the base?
Fix AppRun path issue #12643
Conversation
|
I found that the browser integration also does not work anymore (at least with snap firefox). Same browser works with native install. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #12643 +/- ##
===========================================
- Coverage 64.37% 64.35% -0.02%
===========================================
Files 378 378
Lines 39823 39823
===========================================
- Hits 25636 25627 -9
- Misses 14187 14196 +9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Ok, maybe we need to add the library path back as well. |
|
Nah it's the Firefox Snap, it doesn't set the environment variable. Need to include the flatpak method here. |
|
But why? We haven't changed that part in years. Are there any other env cars we could check for? |
20df350 to
d2d5f60
Compare
|
The fix I posted works with Snap Firefox now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR modifies the AppImage startup script to improve how the application routes execution to the appropriate binary (CLI, proxy, or main GUI). The key changes refactor the browser proxy detection logic and add PATH/LD_LIBRARY_PATH configuration.
- Adds explicit PATH and LD_LIBRARY_PATH exports for AppImage bundled binaries
- Separates the browser proxy detection into a distinct elif clause
- Adds a new condition to detect browser extension invocations via the
$2parameter
|
We should ensure we never set an empty : as a library path, otherwise we're back at the issue because of which I removed it in the first place. |
|
Oh take that out then, it is not needed for the proxy |
Fix PATH issue in AppRun script.
Fixes #12612
Changes not actually tested yet.
Type of change