mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
12 lines
320 B
Bash
12 lines
320 B
Bash
|
#!/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 "$@"
|