#!/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/obsidian/obsidian.json ]; then mkdir -p $HOME/.config/obsidian/ echo '{"updateDisabled":true}' > $HOME/.config/obsidian/obsidian.json fi exec %%DATADIR%%/obsidian "$@"