change autostart script
All checks were successful
Build Slideshow App / build (amd64, .exe, windows) (push) Successful in 3m29s
Build Slideshow App / build (amd64, , linux) (push) Successful in 3m46s
Build Slideshow App / build (arm, 7, , linux) (push) Successful in 2m0s
Build Slideshow App / build (arm64, , linux) (push) Successful in 1m59s

This commit is contained in:
Adrian Zürcher
2026-01-20 17:17:03 +01:00
parent 6f7e149c9a
commit 4904589086

View File

@@ -119,8 +119,16 @@ jobs:
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
Name=Slideshow App Name=Slideshow App
Exec=/usr/bin/$PKG_NAME Exec=sh -c ' \
WorkingDirectory=/usr/share/$PKG_NAME i=0; \
while [ $i -lt 30 ]; do \
if [ "$(ls -A "/media/$REAL_USER" 2>/dev/null)" ] && ping -c 1 -W 1 8.8.8.8 >/dev/null 2>&1; then \
break; \
fi; \
i=$((i+1)); \
sleep 1; \
done; \
cd /usr/share/slideshowapp && /usr/bin/slideshowapp'
Terminal=false Terminal=false
EOF EOF