diff --git a/Disk Usage/Disk Usage with swiftDialog.bash b/Disk Usage/Disk Usage with swiftDialog.bash index 77d8c61..6e5794a 100644 --- a/Disk Usage/Disk Usage with swiftDialog.bash +++ b/Disk Usage/Disk Usage with swiftDialog.bash @@ -20,9 +20,12 @@ # Hard-coded estimated execution time for user's home folder to 60 percent # Opened the macOS built-in Storage information # -# Version 0.0.3, 14-Nov-2022, +# Version 0.0.3, 14-Nov-2022, Dan K. Snelson (@dan-snelson) # Modified du's stderr redirection (thanks, @Pico!) # +# Version 0.0.4, 09-Sep-2023, Dan K. Snelson (@dan-snelson) +# Updated `dialogURL` +# #################################################################################################### @@ -37,7 +40,7 @@ # Global Variables # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -scriptVersion="0.0.3" +scriptVersion="0.0.4" export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin/ loggedInUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' ) loggedInUserHome=$( dscl . read /Users/"${loggedInUser}" NFSHomeDirectory | awk -F ": " '{print $2}' ) @@ -229,7 +232,7 @@ function jamfDisplayMessage() { function dialogCheck() { # Get the URL of the latest PKG From the Dialog GitHub repo - dialogURL=$(curl --silent --fail "https://api.github.com/repos/bartreardon/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") + dialogURL=$(curl -L --silent --fail "https://api.github.com/repos/swiftDialog/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") # Expected Team ID of the downloaded PKG expectedDialogTeamID="PWA5E9TQ59" diff --git a/Display Message/Display-Message-via-Dialog.bash b/Display Message/Display-Message-via-Dialog.bash index 91f08d4..36353e7 100644 --- a/Display Message/Display-Message-via-Dialog.bash +++ b/Display Message/Display-Message-via-Dialog.bash @@ -43,6 +43,9 @@ # Version 0.0.8, 30-Mar-2023, Dan K. Snelson (@dan-snelson) # - Updated default dialog instructions to include an `action` # +# Version 0.0.9, 09-Sep-2023, Dan K. Snelson (@dan-snelson) +# - Updated `dialogURL` +# #################################################################################################### @@ -53,7 +56,7 @@ # #################################################################################################### -scriptVersion="0.0.8" +scriptVersion="0.0.9" scriptLog="/var/tmp/org.churchofjesuschrist.log" export PATH=/usr/bin:/bin:/usr/sbin:/sbin loggedInUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' ) @@ -137,7 +140,7 @@ fi function dialogCheck() { # Get the URL of the latest PKG From the Dialog GitHub repo - dialogURL=$(curl --silent --fail "https://api.github.com/repos/bartreardon/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") + dialogURL=$(curl -L --silent --fail "https://api.github.com/repos/swiftDialog/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") # Expected Team ID of the downloaded PKG expectedDialogTeamID="PWA5E9TQ59" diff --git a/Inventory Update Progress/swiftDialog-Inventory-Update-Progress.bash b/Inventory Update Progress/swiftDialog-Inventory-Update-Progress.bash index 003a37f..5c4b8c5 100644 --- a/Inventory Update Progress/swiftDialog-Inventory-Update-Progress.bash +++ b/Inventory Update Progress/swiftDialog-Inventory-Update-Progress.bash @@ -27,6 +27,9 @@ # Version 0.0.5, 27-Dec-2022, Dan K. Snelson (@dan-snelson) # Provided alternate `recon` option to address Issue No. 24 # +# Version 0.0.6, 09-Sep-2023, Dan K. Snelson (@dan-snelson) +# - Updated `dialogURL` +# #################################################################################################### @@ -37,7 +40,7 @@ # #################################################################################################### -scriptVersion="0.0.5" +scriptVersion="0.0.6" export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin/ loggedInUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' ) osVersion=$( /usr/bin/sw_vers -productVersion ) @@ -141,7 +144,7 @@ function jamfDisplayMessage() { function dialogCheck(){ # Get the URL of the latest PKG From the Dialog GitHub repo - dialogURL=$(curl --silent --fail "https://api.github.com/repos/bartreardon/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") + dialogURL=$(curl -L --silent --fail "https://api.github.com/repos/swiftDialog/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") # Expected Team ID of the downloaded PKG expectedDialogTeamID="PWA5E9TQ59" diff --git a/csf-Diagnose.bash b/csf-Diagnose.bash index e498153..26b66bd 100644 --- a/csf-Diagnose.bash +++ b/csf-Diagnose.bash @@ -11,13 +11,16 @@ # HISTORY # # Version 0.0.1, 06-Feb-2023, Dan K. Snelson (@dan-snelson) -# Original version +# - Original version # # Version 0.0.2, 13-Mar-2023, Dan K. Snelson (@dan-snelson) -# Prepend Serial Number on output file +# - Prepend Serial Number on output file # # Version 0.0.3, 14-Mar-2023, Dan K. Snelson (@dan-snelson) -# Modified `find` command (thanks, @Samantha Demi and @Pico) +# - Modified `find` command (thanks, @Samantha Demi and @Pico) +# +# Version 0.0.4, 09-Sep-2023, Dan K. Snelson (@dan-snelson) +# - Updated `dialogURL` # #################################################################################################### @@ -29,7 +32,7 @@ # #################################################################################################### -scriptVersion="0.0.3" +scriptVersion="0.0.4" export PATH=/usr/bin:/bin:/usr/sbin:/sbin falconBinary="/Applications/Falcon.app/Contents/Resources/falconctl" osVersion=$( /usr/bin/sw_vers -productVersion ) @@ -134,7 +137,7 @@ fi function dialogCheck() { # Get the URL of the latest PKG From the Dialog GitHub repo - dialogURL=$(curl --silent --fail "https://api.github.com/repos/bartreardon/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") + dialogURL=$(curl -L --silent --fail "https://api.github.com/repos/swiftDialog/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") # Expected Team ID of the downloaded PKG expectedDialogTeamID="PWA5E9TQ59" diff --git a/csf-Inspector.bash b/csf-Inspector.bash index 5bd45d4..075f306 100644 --- a/csf-Inspector.bash +++ b/csf-Inspector.bash @@ -17,6 +17,9 @@ # Version 0.0.2, 11-Nov-2022, Dan K. Snelson (@dan-snelson) # Corrected button enablement on completion # +# Version 0.0.3, 09-Sep-2023, Dan K. Snelson (@dan-snelson) +# - Updated `dialogURL` +# #################################################################################################### @@ -31,7 +34,7 @@ # Global Variables # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -scriptVersion="0.0.2" +scriptVersion="0.0.3" export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin/ loggedInUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' ) osVersion=$( sw_vers -productVersion ) @@ -120,7 +123,7 @@ function jamfDisplayMessage() { function dialogCheck() { # Get the URL of the latest PKG From the Dialog GitHub repo - dialogURL=$(curl --silent --fail "https://api.github.com/repos/bartreardon/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") + dialogURL=$(curl -L --silent --fail "https://api.github.com/repos/swiftDialog/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") # Expected Team ID of the downloaded PKG expectedDialogTeamID="PWA5E9TQ59" diff --git a/swiftDialog Commander/swiftDialogCommander.sh b/swiftDialog Commander/swiftDialogCommander.sh index 34c833d..c80a7be 100644 --- a/swiftDialog Commander/swiftDialogCommander.sh +++ b/swiftDialog Commander/swiftDialogCommander.sh @@ -22,6 +22,9 @@ # Version 0.0.3, 06-Jun-2022, Dan K. Snelson (@dan-snelson) # Added link to blog post for additional examples # +# Version 0.0.4, 09-Sep-2023, Dan K. Snelson (@dan-snelson) +# Updated `dialogURL` +# #################################################################################################### @@ -36,7 +39,7 @@ # Script Version # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -scriptVersion="0.0.3" +scriptVersion="0.0.4" @@ -189,7 +192,7 @@ function dialog_update() { function dialogCheck(){ # Get the URL of the latest PKG From the Dialog GitHub repo - dialogURL=$(curl --silent --fail "https://api.github.com/repos/bartreardon/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") + dialogURL=$(curl -L --silent --fail "https://api.github.com/repos/swiftDialog/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") # Expected Team ID of the downloaded PKG expectedDialogTeamID="PWA5E9TQ59" diff --git a/sysdiagnose Progress/swiftDialog-sysdiagnose-Progress.bash b/sysdiagnose Progress/swiftDialog-sysdiagnose-Progress.bash index 36ca592..7e3fbfd 100644 --- a/sysdiagnose Progress/swiftDialog-sysdiagnose-Progress.bash +++ b/sysdiagnose Progress/swiftDialog-sysdiagnose-Progress.bash @@ -27,6 +27,9 @@ # Updated `sed` regex (thanks, @Nick Koval!) # Updated `updateScriptLog` function (thanks, @tlark!) # +# Version 1.3.2, 09-Sep-2023, Dan K. Snelson (@dan-snelson) +# Updated `dialogURL` +# #################################################################################################### @@ -37,7 +40,7 @@ # #################################################################################################### -scriptVersion="1.3.1" +scriptVersion="1.3.2" export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin/ loggedInUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' ) loggedInUserHome=$( dscl . read /Users/"${loggedInUser}" NFSHomeDirectory | awk -F ": " '{print $2}' ) @@ -207,7 +210,7 @@ function jamfDisplayMessage() { function dialogCheck(){ # Get the URL of the latest PKG From the Dialog GitHub repo - dialogURL=$(curl --silent --fail "https://api.github.com/repos/bartreardon/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") + dialogURL=$(curl -L --silent --fail "https://api.github.com/repos/swiftDialog/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg\"/ { print \$4; exit }") # Expected Team ID of the downloaded PKG expectedDialogTeamID="PWA5E9TQ59"