aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKablersalat <crt@adastra7.net>2025-02-24 20:22:45 +0100
committerKablersalat <crt@adastra7.net>2025-02-24 20:22:45 +0100
commit599595f40e18c8979a56bfa09b30ee70e8e4e9b4 (patch)
tree0df457f8a1fced06a15764c5c3a913cf8bc0b5c1
parentf4b61a5942255d6f3e383b054ef65b05ca3f7c1d (diff)
chromium nagging
-rw-r--r--installer.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/installer.sh b/installer.sh
index 221699d..ccb3cb7 100644
--- a/installer.sh
+++ b/installer.sh
@@ -121,7 +121,8 @@ set_start_script_single() {
# Write the script with properly formatted commands
cat > /home/kiosk/start.sh <<EOF
#!/bin/bash
-/usr/bin/chromium --no-first-run --disable-translate --no-default-browser-check --disable-cache --kiosk $website
+/usr/bin/chromium --force-device-scale-factor=$scaling_factor --temp-profile --disable-profiles --no-first-run --disable-translate --no-default-browser-check --disable-cache --ignore-certificate-errors --disable-web-security --kiosk $website
+
EOF
chmod a+x /home/kiosk/start.sh
}
@@ -144,7 +145,7 @@ configure_tabs() {
# Write the script with properly formatted commands
cat > /home/kiosk/start.sh <<EOF
#!/bin/bash
-/usr/bin/chromium --incognito --force-device-scale-factor=$scaling_factor --temp-profile --disable-profiles --no-first-run --disable-translate --no-default-browser-check --disable-cache --kiosk $tab_urls &
+/usr/bin/chromium --force-device-scale-factor=$scaling_factor --temp-profile --disable-profiles --no-first-run --disable-translate --no-default-browser-check --disable-cache --ignore-certificate-errors --disable-web-security --kiosk $tab_urls &
sleep 10 # Allow time for Chromium to launch
# Function definitions should be placed before they are called