Files
qt5/coin/provisioning/common/macos/disable-notifications_and_warnings.sh
Lucie Gérard 54f555c6a4 Add license header to provisioning scripts missing one
Task-number: QTBUG-108364
Change-Id: I5b1d53aad917ed38f9e26e1fcc1b97b921c0603a
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit ae21de72f3)
2023-09-14 12:50:10 +02:00

10 lines
373 B
Bash
Executable File

#!/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 -f ~/Library/Preferences/com.apple.coreservices.uiagent.plist