This commit is contained in:
2024-04-15 22:43:12 +03:00
parent fa92a9529b
commit 39046fe1f2
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,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 "$@"