From 3f20c3d277cf9bc8a756ae75caa6b947875398fd Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Thu, 17 Nov 2022 14:54:52 +0000 Subject: [PATCH] Update update-macOS-latest.sh --- Helpers/update-macOS-latest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Helpers/update-macOS-latest.sh b/Helpers/update-macOS-latest.sh index f37fd74..e83b9a1 100644 --- a/Helpers/update-macOS-latest.sh +++ b/Helpers/update-macOS-latest.sh @@ -13,12 +13,12 @@ fi if [ "$SHOWDIALOG" == "Y" ]; then echo "Dialog will open" - /usr/local/bin/dialog dialog --title "Purple Managed macOS Updates" --message "**WARNING: Restart Required** \n\nYou are about to install an OS update which could take up to 1 hour 30 minutes to install. \n\n Please confirm you have saved all work and wish to continue?" --blurscreen --icon "https://www.apple.com/newsroom/images/product/os/macos/standard/Apple-WWDC22-macOS-Ventura-Spotlight-show-220606_big.jpg.large.jpg" --overlayicon warning --ontop --button1text "Continue" --button1shellaction "curl -s https://raw.githubusercontent.com/grahampugh/erase-install/main/erase-install.sh | sudo bash /dev/stdin --reinstall --depnotify --check-power --power-wait-limit 180 --update" --button2text "Later" + /usr/local/bin/dialog dialog --title "Purple Managed macOS Updates" --message "**WARNING: Restart Required** \n\nYou are about to install an OS update which could take up to 1 hour 30 minutes to install. \n\n Please confirm you have saved all work and wish to continue?" --icon "https://www.apple.com/newsroom/images/product/os/macos/standard/Apple-WWDC22-macOS-Ventura-Spotlight-show-220606_big.jpg.large.jpg" --overlayicon warning --ontop --button1text "Continue" --button1shellaction "curl -s https://raw.githubusercontent.com/grahampugh/erase-install/main/erase-install.sh | sudo bash /dev/stdin --reinstall --current-user --depnotify --check-power --power-wait-limit 180 --update" --button2text "Later" else echo "Dialog will not open" echo Continuing... - curl -s https://raw.githubusercontent.com/grahampugh/erase-install/main/erase-install.sh | sudo bash /dev/stdin --reinstall --depnotify --check-power --power-wait-limit 180 --update + curl -s https://raw.githubusercontent.com/grahampugh/erase-install/main/erase-install.sh | sudo bash /dev/stdin --reinstall --current-user --depnotify --check-power --power-wait-limit 180 --update fi #PROMPTS WITH INSTALL