forked from Lainports/freebsd-ports
Major changes:
* Fixes move of child cells in groups [drawio-3967]
* [conf cloud] Fixes bugs in rendering diagrams with pageInfo param [DFCC-64]
Port changes:
* disable auto updater on first run
* update maintainer email address
* Reorder Makefile components to make linters happy
14 lines
429 B
Bash
14 lines
429 B
Bash
#!/bin/sh
|
|
|
|
# workaround Chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=918234
|
|
if [ "$DBUS_SESSION_BUS_ADDRESS" = "" ]; then
|
|
export DBUS_SESSION_BUS_ADDRESS="autolaunch:"
|
|
fi
|
|
|
|
# disable auto updater on first run
|
|
if [ ! -f $HOME/.config/draw.io/config.json ]; then
|
|
mkdir -p $HOME/.config/draw.io/
|
|
echo '{"dontCheckUpdates":true}' > $HOME/.config/draw.io/config.json
|
|
fi
|
|
|
|
exec %%DATADIR%%/drawio "$@"
|