-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
adab643
commit 981adb4
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,9 +47,8 @@ jobs: | |
- name: Disable notifications on macOS | ||
if: runner.os == 'macOS' | ||
run: | | ||
sudo defaults write /System/Library/LaunchAgents/com.apple.notificationcenterui KeepAlive -bool false | ||
killall NotificationCenter || true | ||
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist || true | ||
osascript -e 'tell application "System Events" to set "do not disturb" to true' | ||
defaults -currentHost write ~/Library/Preferences/ByHost/com.apple.notificationcenterui doNotDisturb -boolean true | ||
- name: Setup Java | ||
uses: actions/[email protected] | ||
|