flatpak: Run EDS nested to the sandbox

EDS keeps changing its D-Bus API and we can't really
rely on it matching the host. Thus, make EDS run nested
to the sandbox.
This commit is contained in:
Georges Basile Stavracas Neto
2019-02-01 13:31:56 -02:00
parent 2e684a6288
commit 0580637772
2 changed files with 36 additions and 6 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
if [ "$1" = "--quit" -o "$1" = "-q" ]; then
/app/bin/gnome-calendar "$@"
exit
fi
export GIO_USE_NETWORK_MONITOR=base
gsettings reset org.gnome.evolution-data-server network-monitor-gio-name
/app/libexec/evolution-source-registry &
sleep 1
/app/libexec/evolution-addressbook-factory -r &
/app/libexec/evolution-calendar-factory -r &
sleep 1
/app/bin/gnome-calendar "$@"