summarylogtreecommitdiffstats
path: root/notion-app
blob: c860efc55b36edc0249b81e187f0cecbee8e3507 (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 electron32 /usr/lib/notion-app/app.asar $NOTION_USER_FLAGS "$@" # https://wiki.archlinux.org/title/Electron_package_guidelines#Using_the_system_electron