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.
--swiftdialog
or-d
(I didn't use -s because thats typically used for silent/quiet mode)--swiftdialog
is used, but SwiftDialog is not yet installed, patchomator will use Installomator to install SwiftDialog prior to running other labels