KASM-2478 Maximize tor by default. Allow environment var to override

This commit is contained in:
Justin Travis 2022-05-21 15:38:21 -04:00
parent beb70e161f
commit b2538694c4

View File

@ -2,7 +2,8 @@
set -ex set -ex
START_COMMAND="$HOME/tor-browser/tor-browser_en-US/Browser/start-tor-browser" START_COMMAND="$HOME/tor-browser/tor-browser_en-US/Browser/start-tor-browser"
PGREP="firefox.real" PGREP="firefox.real"
export MAXIMIZE="false" MAXIMIZE=${MAXIMIZE:-"true"}
export MAXIMIZE=$MAXIMIZE
MAXIMIZE_SCRIPT=$STARTUPDIR/maximize_window.sh MAXIMIZE_SCRIPT=$STARTUPDIR/maximize_window.sh
DEFAULT_ARGS="--detach --allow-remote --new-tab" DEFAULT_ARGS="--detach --allow-remote --new-tab"
ARGS=${APP_ARGS:-$DEFAULT_ARGS} ARGS=${APP_ARGS:-$DEFAULT_ARGS}