Add initial onboarding app package

This commit is contained in:
2023-12-19 09:13:33 +01:00
parent 4663645212
commit 70dd482276
9 changed files with 369 additions and 0 deletions
@@ -0,0 +1,24 @@
#!/bin/bash
# List of Chromium Command Line Switches
# https://peter.sh/experiments/chromium-command-line-switches/
COMMAND="chromium-browser \
--disable-features=Translate,Infobars \
--no-default-browser-check \
--no-first-run \
--noerrdialogs \
--class=TooloopOnboarding \
--app=file:///media/assets/data/index.html"
if [ $EUID == 0 ]; then
pkill chrome
sleep 0.1
su tooloop -c "$COMMAND" &
else
pkill chrome
sleep 0.1
$COMMAND &
fi
exit 0