freebsd-ports/graphics/drawio/files/drawio.in
Alexey Yushkin 697a94b55c graphics/drawio: update to 22.1.2
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
2023-11-26 15:19:36 +01:00

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 "$@"