diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 8bf3195..ee16051 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -89,7 +89,7 @@ jobs: - name: Download Dependencies run: | sudo apt update -qq - sudo apt install gettext -qq + sudo apt install gettext imagemagick -qq - name: Build Burn-My-Windows run: make - name: Generate References diff --git a/tests/generate-references.sh b/tests/generate-references.sh index c840465..81a3210 100755 --- a/tests/generate-references.sh +++ b/tests/generate-references.sh @@ -98,8 +98,7 @@ set_setting() { # This makes a screen capture (cropped to $CROP) inside the container and stores it # on the host relative to this script with the given file name. capture() { - do_in_pod import -window root -crop $CROP out.png - podman cp "${POD}":/home/gnomeshell/out.png "${1}" + podman cp "${POD}:/opt/Xvfb_screen0" - | tar xf - --to-command "convert xwd:- -crop ${CROP} ${1}" } # This opens the extensions preferences dialog and captures two images: One during the