Update worker.sh

This commit is contained in:
probonopd authored and GitHub committed 2017-08-08 18:00:24 +02:00
1 parent f3df95ebd6
commit a520b157e1
1 file changed
+3 -1
+3 -1
View File
@@ -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 "==========================================="