sonnyp / Junction

Application/browser chooser
https://flathub.org/apps/re.sonny.Junction
GNU General Public License v3.0
458 stars 29 forks source link

flatpak: Fix application listing by patching GLib #6

Closed sonnyp closed 2 years ago

sonnyp commented 2 years ago

There are too many issues with Exec and TryExec. For example; on Arch Firefox has /usr/lib/firefox/firefox, Chromium /usr/bin/chromium, ...

Right now it only works for name of binary that is present in $PATH so it's also limited for custom scripts and so on.

This also speeds things up a bit and simplify code.

sonnyp commented 2 years ago

https://github.com/sonnyp/Junction/commit/9cf42c27aeb8a3e2eff45b4b7ae3fe4a7157f17c