Update worker.sh
This commit is contained in:
1 parent
f3df95ebd6
commit
a520b157e1
1 file changed
+3
-1
+3
-1
@@ -103,7 +103,9 @@ APID=$!
|
||||
sleep 5
|
||||
# xpra screenshot database/$INPUTBASENAME/screenshot
|
||||
# screenshot is empty and has not been saved (maybe there are no windows or they are not currently shown)
|
||||
import -window root database/$INPUTBASENAME/screenshot.jpg # ImageMagick
|
||||
# import -window root database/$INPUTBASENAME/screenshot.jpg # ImageMagick
|
||||
sudo apt-get -y install scrot
|
||||
scrot -u -b database/$INPUTBASENAME/screenshot.jpg
|
||||
kill $APID && echo "SUCCESS" || exit 1
|
||||
|
||||
echo "==========================================="
|
||||
|
||||
Reference in new issue
Block a user