Open cpba opened 3 years ago
zypak-wrapper needs to directly be run on the binary, not on any shell script wrappers. It's technically always been error-prone to do otherwise, but the failures weren't as obvious before. However, with the new spawn strategy, a D-Bus thread is injected into the main process, so if you wrap a shell script, it ends up injecting the D-Bus thread into the shell which...generally won't do what you want.
In Atom's case, it seems atom-real is indeed a wrapper shell script, so you'd have to patch it to run zypak-wrapper over Atom itself.
Leaving this open since I just realized I never documented this...
I'd never noticed atom-real
was also a shell script.
Thank you, this explains everything.
io.atom.Atom
works fine onv2020.02
but fails to start onv2021.01.1
:Related issues:
https://github.com/flathub/org.electronjs.Electron2.BaseApp/issues/19 https://github.com/flathub/io.atom.Atom/issues/89