Fixed issue

This commit is contained in:
Brian Zalewski 2023-12-05 18:19:08 +00:00
parent 783b0cd08a
commit a9a7e7269f

View file

@ -28,7 +28,7 @@ ensureFullDiskAccess() {
if [ -d /Applications ] && [ -d /System ]; then
if ! plutil -lint /Library/Preferences/com.apple.TimeMachine.plist > /dev/null ; then
logg star 'Opening Full Disk Access preference pane.. Grant full-disk access for the terminal you would like to run the provisioning process with.' && open "x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles"
logg prompt 'Press ENTER to check for Full Disk Access again' && read -rsn
logg prompt 'Press ENTER to check for Full Disk Access again' && read -r
ensureFullDiskAccess
else
logg success 'Current terminal has full disk access'