Skip to content

Commit 6a0569b

Browse files
committed
test
1 parent 5b7dfc4 commit 6a0569b

1 file changed

Lines changed: 2 additions & 19 deletions

File tree

  • .github/workflows/actions/set-screen-resolution

.github/workflows/actions/set-screen-resolution/action.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,5 @@ runs:
2828
if: runner.os == 'macOS'
2929
shell: bash
3030
run: |
31-
echo "----"
32-
ls -1al "/Library/Application Support"
33-
echo "----"
34-
test -d "/Library/Application Support/Veertu" && ls -1al "/Library/Application Support/Veertu"
35-
echo "----"
36-
test -d "/Library/Application Support/Veertu/Anka/addons" && ls -1al "/Library/Application Support/Veertu/Anka/addons"
37-
echo "----"
38-
if [ -f "/Library/Application Support/Veertu/Anka/addons/change_res" ]; then
39-
echo "Anka tools found"
40-
"/Library/Application Support/Veertu/Anka/addons/change_res" --help
41-
sudo "/Library/Application Support/Veertu/Anka/addons/change_res" ${{ inputs.width }}x${{ inputs.height }}
42-
fi
43-
ls -1al "/Library/Application Support/VMware Tools"
44-
echo "----"
45-
if [ -d "/Library/Application Support/VMware Tools" ]; then
46-
echo "Vmware tools found"
47-
sudo "/Library/Application Support/VMware Tools/vmware-resolutionSet" ${{ inputs.width }} ${{ inputs.height }}
48-
sleep 2
49-
fi
31+
brew install displayplacer
32+
displayplacer list

0 commit comments

Comments
 (0)