From 182f7d2c5b7903ad925b4a8cc6b7c74a89b47fd0 Mon Sep 17 00:00:00 2001 From: Viktor Ivanov Date: Mon, 29 Jun 2026 21:00:40 +0900 Subject: [PATCH 1/2] Bundle Gio modules --- linuxdeploy-plugin-gtk.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/linuxdeploy-plugin-gtk.sh b/linuxdeploy-plugin-gtk.sh index 7735e3a..5a2c37f 100755 --- a/linuxdeploy-plugin-gtk.sh +++ b/linuxdeploy-plugin-gtk.sh @@ -263,6 +263,14 @@ cat >> "$HOOKFILE" <> "$HOOKFILE" < Date: Sun, 20 Sep 2026 16:17:15 +0200 Subject: [PATCH 2/2] comment out gdk_backend --- linuxdeploy-plugin-gtk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxdeploy-plugin-gtk.sh b/linuxdeploy-plugin-gtk.sh index 5a2c37f..a351e6a 100755 --- a/linuxdeploy-plugin-gtk.sh +++ b/linuxdeploy-plugin-gtk.sh @@ -243,7 +243,7 @@ APPIMAGE_GTK_THEME="${APPIMAGE_GTK_THEME:-"Adwaita:$GTK_THEME_VARIANT"}" # Allow export APPDIR="${APPDIR:-"$(dirname "$(realpath "$0")")"}" # Workaround to run extracted AppImage export GTK_DATA_PREFIX="$APPDIR" export GTK_THEME="$APPIMAGE_GTK_THEME" # Custom themes are broken -export GDK_BACKEND=x11 # Crash with Wayland backend on Wayland - We tested it without it and ended up with this: https://github.com/tauri-apps/tauri/issues/8541 +# export GDK_BACKEND=x11 # Monitor this closely. AppImage used to crash on Wayland! export XDG_DATA_DIRS="$APPDIR/usr/share:/usr/share:$XDG_DATA_DIRS" # g_get_system_data_dirs() from GLib EOF