Skip to content

Commit

Permalink
work around for phantomjs (see ariya/phantomjs#14376)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjodah committed Aug 31, 2016
1 parent 6fbfa81 commit 1b77c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/render_index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cat <<EOF>index.html
EOF
for f in $@; do
img=$(basename $f .html).png
phantomjs $(unset CDPATH && cd "$(dirname "$0")" && echo $PWD)/rasterize.js $f $tmpdir/$img 1200px*900px
QT_QPA_PLATFORM=offscreen phantomjs $(unset CDPATH && cd "$(dirname "$0")" && echo $PWD)/rasterize.js $f $tmpdir/$img 1200px*900px
convert $tmpdir/$img -resize 400x300 thumbs/$img
cat <<EOF>>index.html
<p style='text-align: center'>
Expand Down

0 comments on commit 1b77c73

Please sign in to comment.