From 46b519ebeccb4aed83c68dea6e4fe9e72dfdb875 Mon Sep 17 00:00:00 2001 From: Andrew Sazonov Date: Thu, 19 Oct 2023 13:58:27 +0200 Subject: [PATCH] Debug macOS screen resolution --- .github/workflows/installer.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml index 495b1dd..a8c2bb1 100644 --- a/.github/workflows/installer.yml +++ b/.github/workflows/installer.yml @@ -90,10 +90,16 @@ jobs: Xvfb :0 -screen 0 1920x1080x24 -ac & echo "DISPLAY=:0" >> $GITHUB_ENV + # Method 1: Not working since 10.2023. VMware is replaced by VirtualBox + # "/Library/Application Support/VMware Tools/vmware-resolutionSet" 1920 1080 + # Method 2: Seems to be not needed, as default resoulution now is 1920x1080 + # brew install screenresolution + # screenresolution list + # screenresolution get + # screenresolution set 1920x1080x32@30 - name: Set up screen (macOS) if: runner.os == 'macOS' run: | - "/Library/Application Support/VMware Tools/vmware-resolutionSet" 1920 1080 system_profiler SPDisplaysDataType | grep Resolution - name: Set up screen (Windows) @@ -229,10 +235,16 @@ jobs: Xvfb :0 -screen 0 1920x1080x24 -ac & echo "DISPLAY=:0" >> $GITHUB_ENV + # Method 1: Not working since 10.2023. VMware is replaced by VirtualBox + # "/Library/Application Support/VMware Tools/vmware-resolutionSet" 1920 1080 + # Method 2: Seems to be not needed, as default resoulution now is 1920x1080 + # brew install screenresolution + # screenresolution list + # screenresolution get + # screenresolution set 1920x1080x32@30 - name: Set up screen (macOS) if: runner.os == 'macOS' run: | - "/Library/Application Support/VMware Tools/vmware-resolutionSet" 1920 1080 system_profiler SPDisplaysDataType | grep Resolution - name: Set up screen (Windows)