Work on standalone mode

This commit is contained in:
2026-03-04 14:29:28 -05:00
parent 93af24430a
commit a4b176e7c6
4 changed files with 90 additions and 70 deletions

View File

@@ -11,7 +11,7 @@ url="$1"
conf_file="$2"
source $conf_file
if [[ "$EUID" == "0" || $(who|cut -d" " -f1) == "kioskuser" ]]
if [[ "$EUID" == "0" || $(whoami) == "kioskuser" ]]
then
# Use standalone args
chromargs="--test-type --ignore-certificate-errors --kiosk --no-first-run --check-for-update-interval=1 --simulate-upgrade --incognito"