Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4904589086 |
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user