mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-11-10 00:48:06 +01:00
12 lines
318 B
Text
12 lines
318 B
Text
|
#!/bin/bash
|
||
|
|
||
|
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 electron24 /usr/lib/vesktop/app.asar $VESKTOP_USER_FLAGS "$@"
|