From bdb4e617e609667b0de2f0e1d4078678aaf6145e Mon Sep 17 00:00:00 2001 From: csmith1865 Date: Sat, 11 Jan 2025 20:33:58 +0000 Subject: [PATCH] Update system/install-player-rpi.sh --- system/install-player-rpi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/install-player-rpi.sh b/system/install-player-rpi.sh index 5c18801..db74487 100755 --- a/system/install-player-rpi.sh +++ b/system/install-player-rpi.sh @@ -96,7 +96,7 @@ grep -qxF "allowed_users=anybody" /etc/X11/Xwrapper.config || echo "allowed_user grep -qxF "needs_root_rights=yes" /etc/X11/Xwrapper.config || echo "needs_root_rights=yes" | tee -a /etc/X11/Xwrapper.config # Create the systemd service to start Chromium in kiosk mode -curl https://raw.githubusercontent.com/csmith1865/obscreen/master/system/obscreen-player.service | sed "s#/home/pi#$WORKING_DIR#g" | sed "s#=pi#=$OWNER#g" | tee /etc/systemd/system/obscreen-player.service +curl https://git.sumisu.xyz/csmith1865/obscreen/raw/branch/master/system/obscreen-player.service | sed "s#/home/pi#$WORKING_DIR#g" | sed "s#=pi#=$OWNER#g" | tee /etc/systemd/system/obscreen-player.service # Reload systemd, enable and start the service systemctl daemon-reload @@ -108,7 +108,7 @@ systemctl set-default graphical.target # ============================================================ mkdir -p "$WORKING_DIR/obscreen/var/run" -curl https://raw.githubusercontent.com/csmith1865/obscreen/master/system/autostart-browser-x11.sh | sed "s#/home/pi#$WORKING_DIR#g" | sed "s#=pi#=$OWNER#g" | sed "s#chromium-browser#$CHROMIUM#g" | sed "s#http://localhost:5000#$obscreen_studio_url#g" | tee "$WORKING_DIR/obscreen/var/run/play" +curl https://git.sumisu.xyz/csmith1865/obscreen/raw/branch/master/system/autostart-browser-x11.sh | sed "s#/home/pi#$WORKING_DIR#g" | sed "s#=pi#=$OWNER#g" | sed "s#chromium-browser#$CHROMIUM#g" | sed "s#http://localhost:5000#$obscreen_studio_url#g" | tee "$WORKING_DIR/obscreen/var/run/play" chmod +x "$WORKING_DIR/obscreen/var/run/play" chown -R $OWNER:$OWNER "$WORKING_DIR/obscreen"