mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 11:27:32 -03:00
16 lines
451 B
Bash
Executable file
16 lines
451 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Copyright (c) 2024 Alex313031
|
|
|
|
export SHELL_WRAPPER="`readlink -f "$0"`"
|
|
|
|
HERE="`dirname "$SHELL_WRAPPER"`"
|
|
|
|
PROFILE="$HERE/.config/thorium-shell"
|
|
CACHE="$HERE/.config/cache"
|
|
export PROFILE
|
|
export CACHE
|
|
|
|
# Launch thorium_shell
|
|
# Note: exec -a below is a bashism.
|
|
exec -a "$0" "$HERE/thorium_shell" "--user-data-dir=$PROFILE" "--disk-cache-dir=$CACHE" "--enable-experimental-web-platform-features" "--enable-clear-hevc-for-testing" "$@"
|