-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
Description
Description
The current AppImage build (using the GitHub Action) only works on Ubuntu. It seems to be looking for WebKit-related binaries in /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/, which only exists on Ubuntu.
This defeats the point of an AppImage, and in the nominal case it shouldn't be looking for any dependencies at all.
Attempting to launch it on Arch Linux fails with:
Gtk-Message: 20:10:51.793: Failed to load module "xapp-gtk3-module"
Gtk-Message: 20:10:51.793: Failed to load module "appmenu-gtk-module"
Gtk-Message: 20:10:51.850: Failed to load module "canberra-gtk-module"
Gtk-Message: 20:10:51.851: Failed to load module "canberra-gtk-module"
** (rite:400327): ERROR **: 20:10:52.013: 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)
Steps to reproduce
- Build an AppImage with the Tauri GitHub Action. Sample AppImage.
- Try to run it on a non-Ubuntu distro. I've tested on Arch and Fedora, it doesn't work on either.
Expected behavior
App launches and works normally.
Output of cargo tauri info
Operating System - Arch Linux, version Unknown X64
Node.js environment
Node.js - 14.18.1
@tauri-apps/cli - 1.0.0-beta.10
Global packages
npm - 8.1.0
yarn - 1.22.17
Rust environment
rustc - 1.55.0
cargo - 1.55.0
Others on the Discord (KaKi87#2368, Karar#0413) have reported this too.
Possibly related to #2689.
pwespi, megatank58 and Geoxor