@warpfork
These problems are SO BAD that it pushes
everyone into shipping Electron apps, in desperation, because it's the only thing that "works"...
(wasn't that fun?)
We produced this solution by focusing on what's
load bearing
and discarding all other illusions.
Please check out the Zapps website for more info:
https://zapps.app/
https://media.ccc.de/v/ASG2018-204-path-agnostic_binaries_co-installable_libraries_and_how_to_have_nice_things/
(and this older talk does go a bit more in-depth on various options, if you want more)