summarylogtreecommitdiffstats
path: root/notion-app
blob: a4fc460413f305bab8953fd3f395ea04fd3d586a (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/bash

XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}

# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/notion-flags.conf ]]; then
    NOTION_USER_FLAGS="$(grep -v '^#' $XDG_CONFIG_HOME/notion-flags.conf)"
fi

# Launch
exec electron33 /usr/lib/notion-app/app.asar $NOTION_USER_FLAGS "$@" # https://wiki.archlinux.org/title/Electron_package_guidelines#Using_the_system_electron