aur/google-chrome-unstable.sh
2023-06-02 12:09:42 +02:00

11 lines
336 B
Bash

#!/bin/bash
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/chrome-dev-flags.conf ]]; then
CHROME_USER_FLAGS="$(grep -v '^#' $XDG_CONFIG_HOME/chrome-dev-flags.conf)"
fi
# Launch
exec /opt/google/chrome-unstable/google-chrome-unstable $CHROME_USER_FLAGS "$@"