aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/macos/disable-notifications_and_warnings.sh
diff options
context:
space:
mode:
Diffstat (limited to 'coin/provisioning/common/macos/disable-notifications_and_warnings.sh')
-rwxr-xr-xcoin/provisioning/common/macos/disable-notifications_and_warnings.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/coin/provisioning/common/macos/disable-notifications_and_warnings.sh b/coin/provisioning/common/macos/disable-notifications_and_warnings.sh
index c40a4f65..13c0a480 100755
--- a/coin/provisioning/common/macos/disable-notifications_and_warnings.sh
+++ b/coin/provisioning/common/macos/disable-notifications_and_warnings.sh
@@ -1,7 +1,9 @@
#!/bin/sh
+#Copyright (C) 2023 The Qt Company Ltd
+#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
echo "Unload notificationcenterui.plist"
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
echo "Remove 32-bit warnings"
-rm ~/Library/Preferences/com.apple.coreservices.uiagent.plist
+rm -f ~/Library/Preferences/com.apple.coreservices.uiagent.plist