Deploy swiftDialog on macOS with a PKG Fileset
Description
swiftDialog is an open source macOS utility that lets scripts display dialogs, progress, and prompts to the signed-in user. This recipe packages swiftDialog as a FileWave PKG Fileset and optionally deploys a profile that allows notifications.
Ingredients
-
FileWave Central
-
swiftDialog PKG - swiftDialog releases on GitHub
- Example PKG Fileset - PKG - swiftDialog.fileset.zip
- Profile Fileset to enable notifications for swiftDialog - Profile - swiftDialog - Enable Notifications.fileset.zip
Directions
Deploying swiftDialog to your Macs using FileWave
- Download the required swiftDialog PKG from the current GitHub releases. Check that release's macOS requirement before setting the Fileset compatibility range.
- Create a new PKG fileset in FileWave and import the swiftDialog PKG. See the example: PKG - swiftDialog.fileset.zip
- Choose New Desktop Fileset, select PKG, then import the downloaded package.
- In the Fileset properties, set the supported macOS range to match the swiftDialog release you downloaded. Current releases can require a newer macOS version than older packages.
- Additionally the script below was added to set the notification icon to be a FileWave icon. You'll see in our example Fileset that it has this as a Preflight Script. When the icon is in place before the PKG it allows the custom icon to be used.
#!/bin/zsh if [ -f "/usr/local/sbin/FileWave.app/Contents/Resources/fwGUI.app/Contents/Resources/kiosk.icns" ] then mkdir -p "/Library/Application Support/Dialog/" sips -s format png /usr/local/sbin/FileWave.app/Contents/Resources/fwGUI.app/Contents/Resources/kiosk.icns --out "/Library/Application Support/Dialog/Dialog.png" else echo "File not found: /usr/local/sbin/FileWave.app/Contents/Resources/fwGUI.app/Contents/Resources/kiosk.icns" fi exit 0
- Download Profile - swiftDialog - Enable Notifications.fileset.zip if you want to allow swiftDialog notifications.
- Assign both swiftDialog and the swiftDialog Enable Notifications Filesets to your target macOS devices.
No comments to display
No comments to display