There was an error while loading. Please reload this page.
1 parent 7a3fbc3 commit 4d63222Copy full SHA for 4d63222
1 file changed
linuxdeploy-plugin-gtk.sh
@@ -260,6 +260,14 @@ cat >> "$HOOKFILE" <<EOF
260
export GI_TYPELIB_PATH="\$APPDIR/${gi_typelibsdir/$LD_GTK_LIBRARY_PATH//usr/lib}"
261
EOF
262
263
+echo "Installing Gio modules"
264
+gio_moduledir="$(get_pkgconf_variable "giomoduledir" "gio-2.0" "$LD_GTK_LIBRARY_PATH/gio/modules")"
265
+copy_lib_tree "$gio_moduledir" "$APPDIR/"
266
+gio-querymodules "$APPDIR/${gio_moduledir/$LD_GTK_LIBRARY_PATH//usr/lib}"
267
+cat >> "$HOOKFILE" <<EOF
268
+export GIO_MODULE_DIR="\$APPDIR/${gio_moduledir/$LD_GTK_LIBRARY_PATH//usr/lib}"
269
+EOF
270
+
271
case "$DEPLOY_GTK_VERSION" in
272
2)
273
# https://github.com/linuxdeploy/linuxdeploy-plugin-gtk/pull/20#issuecomment-826354261
0 commit comments