summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/test_torbrowser-launcher.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index 6057378c..b1d9058c 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -31,8 +31,10 @@ update_screenshot() {
xwd -root -silent -display :$SCREEN.0 | xwdtopnm > screenshot.pnm 2>/dev/null
pnmtopng screenshot.pnm > screenshot.png
convert screenshot.png -adaptive-resize 128x96 screenshot-thumb.png
+ # for publishing
cp screenshot.png $RESULTS/screenshot_$TIMESTAMP.png
- mv screenshot.png screenshot-thumb.png $RESULTS/
+ # for the live screenshot plugin
+ mv screenshot.png screenshot-thumb.png $WORKSPACE/
}
first_test() {