Skip to content

Commit

Permalink
Fixup GDK_PIXBUF_MODULE_FILE string replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandlo committed Feb 3, 2022
1 parent 1b03098 commit ba0a547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mac-setup/build-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ mkdir -p ./Xournal++.app/Contents/Resources/etc/gtk-2.0/
gdk-pixbuf-query-loaders >./Xournal++.app/Contents/Resources/etc/gtk-2.0/gdk-pixbuf.loaders
sed -i -e "s:$1/inst/:@executable_path/../Resources/:g" ./Xournal++.app/Contents/Resources/etc/gtk-2.0/gdk-pixbuf.loaders
# Replace old loaders cache location with new one in builtin launcher script, see https://gitlab.gnome.org/GNOME/gtk-mac-bundler/-/issues/12
sed -i -e "s:$bundle_etc/gtk-2.0/gdk-pixbuf.loaders:$bundle_lib/gdk-pixbuf-2.0/2.10.0/loaders.cache:g" ./Xournal++.app/Contents/MacOS/xournalpp
sed -i -e "s:bundle_etc/gtk-2.0/gdk-pixbuf.loaders:bundle_lib/gdk-pixbuf-2.0/2.10.0/loaders.cache:g" ./Xournal++.app/Contents/MacOS/xournalpp

echo "Copy GTK Schema"
mkdir -p ./Xournal++.app/Contents/Resources/share/glib-2.0/schemas
Expand Down

0 comments on commit ba0a547

Please sign in to comment.