Add onboarding weather and template gradients
This commit is contained in:
@@ -35,13 +35,16 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
kiosk_profile="${XDG_DATA_HOME:-$HOME/.local/share}/pulse-signage/kiosk-browser-profile"
|
||||
mkdir -p "$kiosk_profile"
|
||||
|
||||
echo "Launching ${browser_kind} in kiosk mode: ${target_url}"
|
||||
|
||||
case "$browser_kind" in
|
||||
firefox)
|
||||
exec "$browser" -kiosk "$target_url"
|
||||
exec "$browser" -no-remote -profile "$kiosk_profile" -new-window -kiosk "$target_url"
|
||||
;;
|
||||
edge|chrome)
|
||||
exec "$browser" --disable-notifications --kiosk "$target_url"
|
||||
exec "$browser" --disable-notifications --no-first-run --no-default-browser-check --new-window --kiosk --user-data-dir="$kiosk_profile" "$target_url"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user