Skip to content

Commit

Permalink
1.12.5
Browse files Browse the repository at this point in the history
Signed-off-by: Dan K. Snelson <[email protected]>
  • Loading branch information
dan-snelson committed Aug 28, 2023
1 parent 5362b7e commit 568f200
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.12.5
### 28-Aug-2023
- Added `sleep "${debugModeSleepAmount}"` to `recon` validation

## 1.12.4
### 26-Aug-2023
- `toggleJamfLaunchDaemon` (during `quitScript` function) based on `completionActionOption` ([Pull Request No. 89](https://github.com/dan-snelson/Setup-Your-Mac/pull/89); thanks for another one, @TechTrekkie!)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Setup Your Mac (1.12.4) via swiftDialog (2.3.1)
# Setup Your Mac (1.12.5) via swiftDialog (2.3.1)

![GitHub release (latest by date)](https://img.shields.io/github/v/release/dan-snelson/Setup-Your-Mac?display_name=tag) ![GitHub issues](https://img.shields.io/github/issues-raw/dan-snelson/Setup-Your-Mac) ![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/dan-snelson/Setup-Your-Mac) ![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/dan-snelson/Setup-Your-Mac) ![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed-raw/dan-snelson/Setup-Your-Mac)

Expand Down
6 changes: 5 additions & 1 deletion Setup-Your-Mac-via-Dialog.bash
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
# Version 1.12.4, 26-Aug-2023, Dan K. Snelson (@dan-snelson)
# - `toggleJamfLaunchDaemon` (during `quitScript` function) based on `completionActionOption` ([Pull Request No. 89](https://github.com/dan-snelson/Setup-Your-Mac/pull/89); thanks for another one, @TechTrekkie!)
#
# Version 1.12.5, 28-Aug-2023, Dan K. Snelson (@dan-snelson)
# - Added `sleep "${debugModeSleepAmount}"` to `recon` validation
#
####################################################################################################


Expand All @@ -62,7 +65,7 @@
# Script Version and Jamf Pro Script Parameters
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

scriptVersion="1.12.4"
scriptVersion="1.12.5"
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
scriptLog="${4:-"/var/log/org.churchofjesuschrist.log"}" # Parameter 4: Script Log Location [ /var/log/org.churchofjesuschrist.log ] (i.e., Your organization's default location for client-side logs)
debugMode="${5:-"verbose"}" # Parameter 5: Debug Mode [ verbose (default) | true | false ]
Expand Down Expand Up @@ -1759,6 +1762,7 @@ function confirmPolicyExecution() {
updateScriptLog "SETUP YOUR MAC DIALOG: Confirm Policy Execution: ${validation}"
if [[ "${debugMode}" == "true" ]] || [[ "${debugMode}" == "verbose" ]] ; then
updateScriptLog "SETUP YOUR MAC DIALOG: DEBUG MODE: Set 'debugMode' to false to update computer inventory with the following 'reconOptions': \"${reconOptions}\""
sleep "${debugModeSleepAmount}"
else
updateScriptLog "SETUP YOUR MAC DIALOG: Updating computer inventory with the following 'reconOptions': \"${reconOptions}\""
dialogUpdateSetupYourMac "listitem: index: $i, status: wait, statustext: Updating …, "
Expand Down

0 comments on commit 568f200

Please sign in to comment.