From 9b0e1f833b0fefb26aa9d3bc2ecaa42b81d39a51 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 9 Apr 2024 01:12:58 -0700 Subject: [PATCH] Use load -w instead of load Signed-off-by: Tommy --- development.sh | 2 +- primary.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/development.sh b/development.sh index 8d071b0..9fbeae5 100644 --- a/development.sh +++ b/development.sh @@ -44,4 +44,4 @@ sudo chmod 744 '/Library/Tomster Corporation/scripts/apply_prefs.sh' curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/macOS/Managed%20Preferences/com.microsoft.Edge.plist | sudo tee '/Library/Tomster Corporation/prefs/com.microsoft.Edge.plist' curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/macOS/Preferences/com.microsoft.Edge.plist | sudo tee /Library/Preferences/com.microsoft.Edge.plist curl https://raw.githubusercontent.com/TommyTran732/macOS-Setup-Script/main/etc/Library/LaunchDaemons/io.tommytran.prefs.plist | sudo tee /etc/Library/LaunchDaemons/io.tommytran.prefs.list -sudo launchctl load /Library/LaunchDaemons/io.tommytran.prefs.plist \ No newline at end of file +sudo launchctl load -w /Library/LaunchDaemons/io.tommytran.prefs.plist \ No newline at end of file diff --git a/primary.sh b/primary.sh index 3c9d693..6752956 100644 --- a/primary.sh +++ b/primary.sh @@ -25,4 +25,4 @@ sudo chmod 744 '/Library/Tomster Corporation/scripts/apply_prefs.sh' curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/macOS/Managed%20Preferences/com.microsoft.Edge.plist | sudo tee '/Library/Tomster Corporation/prefs/com.microsoft.Edge.plist' curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/macOS/Preferences/com.microsoft.Edge.plist | sudo tee /Library/Preferences/com.microsoft.Edge.plist curl https://raw.githubusercontent.com/TommyTran732/macOS-Setup-Script/main/etc/Library/LaunchDaemons/io.tommytran.prefs.plist | sudo tee /etc/Library/LaunchDaemons/io.tommytran.prefs.list -sudo launchctl load /Library/LaunchDaemons/io.tommytran.prefs.plist \ No newline at end of file +sudo launchctl load -w /Library/LaunchDaemons/io.tommytran.prefs.plist \ No newline at end of file