Deploying swiftDialog via FileWave (macOS PKG)
What
This article provides instructions on how to deploy swiftDialog using FileWave. swiftDialog is a simple utility for macOS that allows shell scripts to display GUI dialogs.
When/Why
swiftDialog is beneficial when you want to provide interactive user feedback or collect user input during a shell script's execution. By deploying swiftDialog via FileWave, administrators can efficiently distribute this utility across all managed macOS devices.
How
Deploying swiftDialog to your Macs using FileWave
- Download the swiftDialog PKG from: Releases · bartreardon/swiftDialog (github.com)
- Create a new PKG fileset in FileWave and import the swiftDialog PKG. See the example: PKG - swiftDialog-2.2.1-4591.fileset.zip but all that was done was "New Desktop Fileset" was picked and then PKG and then the PKG select. On Properties for the Fileset I made it work on macOS 11.x and higher.
- To actually have Dialog.app from swiftDialog display something you'll need to create a TCC profile. (This is planned to be added to this article on how to do that.)
- Assign this fileset to your target macOS devices.
The above steps provide a basic overview of the process. The specifics may vary depending on your network setup and configuration, FileWave version, and the specific needs of your organization.
Related Links
- swiftDialog GitHub - swiftDialog official GitHub page
- SecondSonConsulting/swiftDialogExamples (github.com)
Digging Deeper
swiftDialog brings the power of GUI to your shell scripts, making them more user-friendly. However, its use requires understanding of shell scripting and macOS system administration.