Skip to content

Commit eb6b188

Browse files
authored
Update worker.sh
1 parent 8e77317 commit eb6b188

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

code/worker.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ echo "==========================================="
101101
firejail --noprofile --appimage ./"$FILENAME" &
102102
APID=$!
103103
sleep 5
104-
xpra screenshot database/$INPUTBASENAME/screenshot
104+
# xpra screenshot database/$INPUTBASENAME/screenshot
105+
# screenshot is empty and has not been saved (maybe there are no windows or they are not currently shown)
106+
sudo apt-get -y install graphicsmagick-imagemagick-compat
107+
import -window root database/$INPUTBASENAME/screenshot.jpg # ImageMagick
105108
kill $APID && echo "SUCCESS" || exit 1
106109

107110
echo "==========================================="

0 commit comments

Comments
 (0)