Add files via upload

This commit is contained in:
Narsty
2023-05-14 21:31:20 -05:00
committed by GitHub
parent bf49a42d55
commit 6674954e26
2 changed files with 51 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
REM Must have Homebrew (shows progress bar on updates in the terminal)
REM first install pv using Homebrew (brew install pv).
REM Runs the software update command and pipes its output to pv.
REM The pv command will display the progress bar or bars for the updates
REM Author: Narsty
REM Title: MacUpdaterBot+
REM Target: MacOS
REM Version: 1.0
REM Category: Utility
DELAY 500
GUI SPACE
DELAY 500
STRING terminal
DELAY 500
ENTER
DELAY 1000
STRING sudo softwareupdate -ia --verbose 2>&1 | pv -l -s "$(softwareupdate -l | wc -l)" -p -t -i 1
DELAY 1000
ENTER
+26
View File
@@ -0,0 +1,26 @@
REM Checks for and installs available updates on the MacOs system
REM Very handy if you do not enjoy manually updating your system often!
REM Note that running software updates with administrative privileges
REM can affect system files, so exercise caution
REM ensure that you have the necessary permissions to perform the updates.
REM Author: Narsty
REM Title: MacUpdaterBot
REM Target: MacOS
REM Version: 1.0
REM Category: Utility
DELAY 500
GUI SPACE
DELAY 500
STRING terminal
DELAY 500
ENTER
DELAY 1000
STRING sudo softwareupdate -ia --verbose
DELAY 1000
ENTER