diff --git a/.github/workflows/take_screenshot.yml b/.github/workflows/take_screenshot.yml index 072116f..5d2cdc8 100644 --- a/.github/workflows/take_screenshot.yml +++ b/.github/workflows/take_screenshot.yml @@ -37,6 +37,7 @@ jobs: cargo run --release > cargo.log 2>&1 & sleep 5 cat cargo.log + osascript -e 'tell application "System Events" to tell process "infoskjerm" to set position of window 1 to {0, 0}' window_info=$(osascript -e 'tell application "System Events" to tell process "infoskjerm" to get {position, size} of window 1') x=$(echo $window_info | cut -d, -f1) y=$(echo $window_info | cut -d, -f2)