Fix firefox hangups

Fixes #14.
This commit is contained in:
Dennis Reimann 2026-02-23 10:58:38 +01:00
parent 28304bcf2c
commit d1af52b967
No known key found for this signature in database
GPG key ID: 5009E1797F03F8D0

View file

@ -17,5 +17,7 @@ if ! type firefox &> /dev/null && [[ -d "/Applications/Firefox.app/Contents/MacO
PATH="$PATH:/Applications/Firefox.app/Contents/MacOS"
fi
killall firefox-esr
rm -rf ~/.mozilla ~/.cache/mozilla
firefox-esr --headless --screenshot http://localhost:$DISPLAY_SERVER_PORT --window-size=600,800
pngcrush -c 0 screenshot.png display.png