Update file run_onchange_after_10-configure-macos.tmpl
This commit is contained in:
parent
710661c8b4
commit
3d094ccd58
1 changed files with 1 additions and 5 deletions
|
@ -9,8 +9,6 @@ logg info 'Applying optimized macOS settings'
|
||||||
logg info 'A sudo password is required to apply some of the macOS optimizations.'
|
logg info 'A sudo password is required to apply some of the macOS optimizations.'
|
||||||
sudo echo "Sudo access granted."
|
sudo echo "Sudo access granted."
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
# Close any open System Preferences panes, to prevent them from overriding
|
# Close any open System Preferences panes, to prevent them from overriding
|
||||||
# settings we’re about to change
|
# settings we’re about to change
|
||||||
osascript -e 'tell application "System Preferences" to quit'
|
osascript -e 'tell application "System Preferences" to quit'
|
||||||
|
@ -937,7 +935,5 @@ for app in "Activity Monitor" \
|
||||||
killall "${app}" &> /dev/null
|
killall "${app}" &> /dev/null
|
||||||
done
|
done
|
||||||
|
|
||||||
set +x
|
|
||||||
|
|
||||||
logg success 'Done applying macOS settings'
|
logg success 'Done applying macOS settings'
|
||||||
logg info 'Some of these changes may require a logout/restart to take effect' && exit 0
|
logg info 'Some of these changes may require a logout/restart to take effect'
|
||||||
|
|
Loading…
Reference in a new issue