Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift dialog supportv2 #8

Merged
merged 3 commits into from
May 15, 2023
Merged

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