Skip to content

Commit 2e8a28f

Browse files
committed
CI: Fix on macos-latest
1 parent 38d2281 commit 2e8a28f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/scripts/prepare-macos-runner.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ sudo killall NotificationCenter || true
4343

4444
# Disable firewall
4545
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
46-
sudo /usr/libexec/ApplicationFirewall/socketfilterfw -k
4746

4847
# Close Finder Windows using Apple Script
4948
sudo osascript -e 'tell application "Finder" to close windows'
5049

5150
# Close all windows
52-
sudo osascript -e 'tell application "System Events" to set quitapps to name of every application process whose visible is true and background only is false'
51+
sudo osascript -e 'tell application "System Events" to set quitapps to name of every application process whose visible is true and background only is false'

0 commit comments

Comments
 (0)