summarylogtreecommitdiffstats
path: root/vesktop.sh
blob: a91067f4cf2c6ce2763b561a29a952c6962d7728 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

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

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

# Launch
exec electron /usr/lib/vesktop/app.asar $VESKTOP_USER_FLAGS "$@"