thorium-mirror/infra/Arch_Linux/thorium-browser.sh

12 lines
320 B
Bash
Raw Normal View History

2023-03-02 09:12:29 -03:00
#!/bin/bash
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/thorium-flags.conf ]]; then
THORIUM_USER_FLAGS="$(cat $XDG_CONFIG_HOME/thorium-flags.conf)"
fi
# Launch
exec /opt/chromium.org/thorium/thorium-browser-stable $THORIUM_USER_FLAGS "$@"