Skip to content

Swift dialog supportv2#8

Merged
Mac-Nerd merged 3 commits intoMac-Nerd:1.1from
BigMacAdmin:SwiftDialogSupportv2
May 15, 2023
Merged

Swift dialog supportv2#8
Mac-Nerd merged 3 commits intoMac-Nerd:1.1from
BigMacAdmin:SwiftDialogSupportv2

Conversation

@BigMacAdmin
Copy link
Contributor

  • Changed version to 1.0.4
  • Added variables to support SwiftDialog (path, command file)
  • Added an array to contain all customizable SwiftDialog options. Should make it easy for admins to slot in their own messaging/icons/etc.
  • Added new flags --swiftdialog or -d (I didn't use -s because thats typically used for silent/quiet mode)
  • Added new functions:
    • checkSwiftDialog: If --swiftdialog is used, but SwiftDialog is not yet installed, patchomator will use Installomator to install SwiftDialog prior to running other labels
    • swiftDialogCommand: Allows us to send updates to the running dialog window
    • swiftDialogWindow: Builds an array containing the "display name" of each label we're going to process
    • CompleteSwiftDialog: Deletes the tmp command file, and enables the "OK" button so that the dialog can be dismissed.

# Patch Notes
-   Changed version to 1.0.4
-   Added variables to support SwiftDialog (path, command file)
-   Added an array to contain all customizable SwiftDialog options. Should make it easy for admins to slot in their own messaging/icons/etc.
-   Added new flags `--swiftdialog` or `-d` (I didn't use -s because thats typically used for silent/quiet mode)
-   Added new functions:
    -   checkSwiftDialog: If `--swiftdialog` is used, but SwiftDialog is not yet installed, patchomator will use Installomator to install SwiftDialog prior to running other labels
    -   swiftDialogCommand: Allows us to send updates to the running dialog window
    -   swiftDialogWindow: Builds an array containing the "display name" of each label we're going to process
    -   CompleteSwiftDialog: Deletes the tmp command file, and enables the "OK" button so that the dialog can be dismissed.
@BigMacAdmin BigMacAdmin reopened this May 13, 2023
- If `--write` and `--swiftdialog` are both selected, a simple progress bounce will show for the duration of the discovery process. Works well with `--yes` for automation along with user facing progress bar.
@Mac-Nerd Mac-Nerd added this to the 1.1 - Pump up the Jamf milestone May 15, 2023
@Mac-Nerd Mac-Nerd changed the base branch from main to 1.1 May 15, 2023 21:10
@Mac-Nerd Mac-Nerd merged commit 62f8c05 into Mac-Nerd:1.1 May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants