Merge branch 'feature/KASM-2478_maximize_tor' into 'develop'

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

Closes KASM-2478

See merge request kasm-technologies/internal/workspaces-images!57
This commit is contained in:
Justin Travis 2022-06-20 11:28:07 +00:00
commit f5c890ae9b

View File

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