Compare commits
1 Commits
v0.0.17
...
4904589086
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4904589086 |
@@ -119,8 +119,16 @@ jobs:
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Slideshow App
|
||||
Exec=/usr/bin/$PKG_NAME
|
||||
WorkingDirectory=/usr/share/$PKG_NAME
|
||||
Exec=sh -c ' \
|
||||
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
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user