probonopd / go-appimage

Go implementation of AppImage tools
MIT License
675 stars 69 forks source link

Also deploy webkit2gtk #60

Open probonopd opened 3 years ago

probonopd commented 3 years ago
(com.github.cassidyjames.slack:7557): Gtk-WARNING **: 22:34:34.869: Locale not supported by C library.
        Using the fallback 'C' locale.

** (com.github.cassidyjames.slack:7557): ERROR **: 22:34:34.918: Unable to fork a new child process: Failed to execute child process ?/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess? (No such file or directory)
Trace/breakpoint trap (core dumped)

/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess needs to be deployed properly as well if needed.

It is probably needed whenever libwebkit2gtk-*.so.* is about to be bundled.

To reproduce: https://github.com/probonopd/slack/actions

atlanticaccent commented 1 year ago

Sorry to necro this, but I literally just ran into this issue. Do you have any suggestions on how I might start implementing this myself and then contribute back upstream?

atlanticaccent commented 1 year ago

Moments later, I find this: https://github.com/WebKit/WebKit/blob/14c862ab6338a88885dee7297abe779edab4afc2/Source/WebKit/Shared/glib/ProcessExecutablePathGLib.cpp#L48 which suggests that, at least, we need to pass a modified WEBKIT_EXEC_PATH environment variable to any webkit processes.