From quieter fleets to smarter dialogs: App Auto-Patch’s 3.6 and 3.7 releases bring background patching of closed apps, update staging, Business Hours, banner notifications, an in-process Pending Apps Dialog, a much leaner VerboseMode logging story, plus stale-process recovery and smarter Dock Quit handling — without giving up the set-it-and-forget-it LaunchDaemon workflow Mac Admins already know.
Overview
App Auto-Patch (AAP) inventories installed applications with Installomator, then patches them through swiftDialog-backed prompts — MDM-agnostic, LaunchDaemon-driven, and configurable via managed preferences or CLI.
Since 3.6.0, the project has focused on making day-to-day fleet patching less noisy for users and more controllable for admins:
- Silently patch apps that aren’t open, then only ask about the ones that are
- Pre-stage installers so “Install Now” feels nearly instant
- Respect business / do-not-disturb hours — or keep discovering / silently patching during them
- Surface queued updates with banner notifications and a dedicated pending-apps dialog
- Keep
aap.logclean while makingaap_verbose.logan opt-in troubleshooting transcript - Recover hung runs instead of silently blocking the LaunchDaemon forever
This post summarizes what’s new from 3.6.0 through 3.7.0, then walks through implementing AAP in a fleet using accordion-style steps you can expand as you go.
Full release notes live in the repo: CHANGELOG.md · Wiki
🆕 3.7.0 Highlights
- Business Hours — Block interactive discovery / dialogs / patching during configured weekday windows (
MON:09:00-17:00,…). Optional Silent During (closed-apps only) and Allow Discovery modes. Install-now / pending-apps / preview dialogs intentionally bypass. (#166) - Pending Apps Dialog — Near-instant list of queued updates from the report PLIST (no discovery). Install Now patches exactly that queue in-process and goes straight to the install dialog. Later (and
--preview-deferral-dialog) leave the existingNextAutoLaunchschedule alone. CLI:--pending-apps-dialog. Also used by queued-app notification Install Now. - Banner Notifications — Non-persistent swiftDialog banner alerts for silent updates and queued apps, with Install Now / Dismiss actions (requires notification approval for Dialog’s helper apps).
- Dock Icon — Workflow dialogs can show the AAP logo in the Dock (swiftDialog 3.0+), with pending / remaining badges. Dock Quit reopens deferral instead of forcing install. Discovery/staging Dock Quit follows
DialogQuitHandlingDiscoveryStaging(PROMPT/CONTINUE/STOP, default Prompt). Stop is ignored after a hard deadline or during Install Now so users can’t defer past the cap. - Stale-process recovery — Heartbeat + PID identity checks recover hung AAP runs with
TERMthenKILL. Staging downloads abort if they transfer no data. Admin escape hatch:sudo appautopatch --stop(preservesNextAutoLaunch). Tune withStaleProcessTimeoutSeconds(default 3600;0disables timeout-based killing). - Skip Pre-Update Verification — Opt out of flaky local
spctl/ Team ID discovery checks while Installomator still validates post-download. (#256) - Pre / Post Patch Scripts — Managed, root-owned hooks under
/Library/Management/AppAutoPatch/Hooks/(e.g.jamf recon). (#156) - Excluded Background Labels — Discover and report apps that shouldn’t update on silent / background-patch runs; interactive Install Now remains the escape hatch. (#238)
- GitHub API Auth — Optional PAT for
api.github.comso large fleets stay under rate limits. (#249) - Mosyle MDM support — Enrollment detection, webhook deep-links, Self Service overlay preference. (#240)
- Cleaner, faster logging —
VerboseModefully gatesaap_verbose.log;[VERBOSE]never pollutesaap.log; cached log identity + open FDs; no more duplicate VERBOSE lines.


3.6.x Highlights
3.6.0
⚠️ Before you upgrade: Background Patch Closed Apps is enabled by default under InteractiveMode 1 and 2. If you’re not ready for silent closed-app patching, set
WorkflowBackgroundPatchClosedAppstofalsebefore deploying.
- Background Patch Closed Apps — After discovery, silently update apps that aren’t open; only open / blocked apps hit the deferral dialog
- Update Staging — Pre-download installers so later installs reuse local copies (
WorkflowStageUpdates) - Discovery Frequency — Skip re-scanning within N hours; one-shot
--force-discoverywhen you need a fresh scan - Ignore DND Apps — Don’t let always-on display assertions (Logi Options+, Amphetamine, …) block interactive patching forever (#149)
- Update queue reporting —
xyz.techitout.appAutoPatchReport.plistwith a Munki-styleItemsToInstallarray - Root3 Support App extension — Pending-count tile + pending-apps / install-now click handlers
- Version details in dialogs — “Current → New” under each app name
- Banner images — Custom banner image / URL / colour / gradient on patching & deferral dialogs
- Install Now confirmation — Short confirm prompt before the deferral dialog’s Install Now proceeds
- Signed & notarized
.pkgon every GitHub Release
3.6.1 / 3.6.2 (selected fixes)
- Fully-silent / kiosk runs correctly skip Dock wait and swiftDialog install checks
- Self-update prefs resolved before the self-update check (so managed
SelfUpdateEnabled=falseactually sticks on first run) - Overlay icon selection hardened for Self Service / Self Service+ (no more blank badges from stale paths)
- Installer
.pkgnow carries real version numbers (fixes Intune “version 0” replace failures) and declares universal architectures (no bogus Rosetta prompt) - Monthly cadence no longer gets accidentally shortened when AAP is re-triggered after a completed cycle
Features (the bigger picture since 3.6)
- Quieter by default — Closed apps update in the background; users only see apps that need their attention
- Faster when they say yes — Staging + report-locked pending-apps Install Now skip redundant discovery / prep work
- Schedule-aware — Business Hours, monthly cadence, deferral deadlines, and Discovery Frequency work together instead of fighting each other
- Visible when you need it — Banner notifications, Dock badges, Support App tile, and pending-apps dialog
- Operable at scale — Managed preferences, Jamf schema / iMazing manifests, GitHub API auth, pre/post hooks, receipts + report PLIST, and an admin
--stop/ stale-process recovery path - Debuggable without drowning —
aap.logfor operations;aap_verbose.logonly whenVerboseModeis on

Implementation
Jumpstart your App Auto-Patch rollout by testing locally first, then deploying via MDM with a managed preference profile. Expand each section below as you go.
1. Local Testing
Test on a non-production Mac with swiftDialog available (AAP can install/update Dialog when a user session is present). Use
--debug-modeso nothing is actually patched while you explore the UI.
- Download the latest release from GitHub Releases (script or signed
.pkg). - In an elevated Terminal session, make the script executable and run it in debug mode:
sudo chmod a+x ~/Downloads/App-Auto-Patch-via-Dialog.zsh sudo ~/Downloads/App-Auto-Patch-via-Dialog.zsh --debug-mode - AAP installs itself under
/Library/Management/AppAutoPatch/the first time it runs from outside that folder, then starts the workflow. - After install, drive it like any CLI tool:
sudo appautopatch --usage sudo appautopatch --preview-deferral-dialog sudo appautopatch --workflow-install-now --debug-mode sudo appautopatch --pending-apps-dialog sudo appautopatch --stop - Review logs:
tail -f /Library/Management/AppAutoPatch/logs/aap.log # For deep troubleshooting only: sudo appautopatch --verbose-mode tail -f /Library/Management/AppAutoPatch/logs/aap_verbose.log sudo appautopatch --verbose-mode-off - Useful one-shots while iterating on dialogs (skips a long discovery scan):
sudo appautopatch --debug-mode --workflow-disable-app-discovery
Tips
- Flags like
--debug-modepersist in the local prefs PLIST until you turn them off. - Disable without uninstalling:
sudo appautopatch --workflow-disable-relaunch --reset-defaults - Uninstall:
sudo appautopatch --uninstall - If a run appears stuck,
sudo appautopatch --stopends it without discarding the next scheduled launch. Avoid running an older copy of the script from Downloads — that reinstalls over the live copy under/Library/Management/AppAutoPatch/.

2. MDM Deployment
Pick PKG (signed & notarized on every release) for standard fleets, or Script deployment when you need to customize the script itself. Configure behavior with a managed preference profile — not Jamf script parameters.
- Choose a deployment method — see the wiki: Deployment Methods.
- Build a configuration profile for domain
xyz.techitout.appAutoPatch:- Jamf Pro Application & Custom Settings schema:
Resources/Manifests/ - Example profiles / full-options PLISTs:
Resources/
- Jamf Pro Application & Custom Settings schema:
- Deploy to a single test Mac:
- The AAP
.pkgor a policy/script that runs the.zshonce as root - Your managed preference profile →
/Library/Managed Preferences/xyz.techitout.appAutoPatch.plist - (Recommended on macOS 13+) a Managed Login Item profile so users can’t unload the LaunchDaemon — example in
Resources/
- The AAP
- If you use Banner Notifications, also deploy a
com.apple.notificationsettingsprofile approving:au.csiro.dialog.notifier.bannerau.csiro.dialog.notifier.alertau.csiro.dialog(swiftDialog 3.0 and earlier)
- Kick the tires on the test Mac:
sudo appautopatch --workflow-install-now sudo appautopatch --pending-apps-dialog plutil -p /Library/Managed\ Preferences/xyz.techitout.appAutoPatch.plist tail -100 /Library/Management/AppAutoPatch/logs/aap.log - Widen scope once deferrals, labels, Business Hours, and notifications look right.
3. Recommended Starting Configuration
Every fleet is different — treat this as a sensible baseline for InteractiveMode 2 (full interactive) environments, then tighten.
<!-- Conceptual keys for xyz.techitout.appAutoPatch -->
InteractiveMode = 2
WorkflowBackgroundPatchClosedApps = true <!-- default in 3.6+; set false if not ready -->
WorkflowStageUpdates = true
DiscoveryFrequency = 24
BusinessHours = MON:09:00-17:00,TUE:09:00-17:00,WED:09:00-17:00,THU:09:00-17:00,FRI:09:00-17:00
BusinessHoursSilentDuring = true <!-- discover + silent-patch closed apps during hours -->
ShowNotificationsAll = true
ShowDockIcon = true
DialogQuitHandlingDiscoveryStaging = PROMPT <!-- Keep Running vs Stop; Stop ignored after hard deadline -->
StaleProcessTimeoutSeconds = 3600 <!-- 0 disables timeout-based recovery -->
VerboseMode = false <!-- enable only while troubleshooting -->
IgnoredLabels = "microsoft* googlechrome* jamfconnect zoom* swiftdialog"
ExcludedBackgroundLabels = "python* nodejs* amazoncorretto*"
Why these defaults?
- Background patch + staging — Users see fewer dialogs; when they do click Install Now, downloads are often already local.
- DiscoveryFrequency 24 — Deferrals during the day don’t re-scan the whole app inventory every time.
- BusinessHours + SilentDuring — Keep the fleet moving during the workday without interactive prompts; remaining open apps wait until hours clear (or the user hits Install Now from a banner / pending-apps dialog).
- VerboseMode off — As of 3.7.0, nothing is written to
aap_verbose.logunless VerboseMode is on. Turn it on only when investigating. - PROMPT Dock Quit — Users can stop a discovery/staging window until the next scheduled run, but not after a hard deadline or during Install Now.
Validate branding / deferral layout without patching:
sudo appautopatch --preview-deferral-dialog

4. Upgrading from 3.5.x → 3.6 / 3.7
- Read the 3.6.0 upgrade callout —
WorkflowBackgroundPatchClosedAppsdefaults totrue. Explicitly set itfalsein the managed profile if you need the old “always ask” behavior. - Deploy the new
.pkg/ script and refresh your configuration profile so new keys (Business Hours, notifications, ExcludedBackgroundLabels, Dock Quit handling, stale-process timeout, etc.) exist with intentional values. - If you use Jamf Application & Custom Settings, re-import the updated schema from
Resources/Manifests/(3.6.1 fixedVersionComparisonMethodcasing; 3.7 adds pending-apps language keys plusdisplay_string_preparationdismissed_*,DialogQuitHandlingDiscoveryStaging, andStaleProcessTimeoutSeconds). - After upgrade on a pilot Mac, confirm:
- LaunchDaemon still loaded
aap.loglooks healthy without VERBOSE spam- Report PLIST / Support App count match what users see
- Business Hours defer / silent-during behavior matches your windows
/var/run/aap.heartbeatupdates while a run is healthy;sudo appautopatch --stopclears a hung process
- Optional: enable
SelfUpdateEnabledso pilots pull newer builds on your chosen frequency — or keep it off and drive versions only via MDM.
5. Resources & Troubleshooting
Docs

Quick troubleshooting (elevated Terminal)
# Managed prefs present?
plutil -lint /Library/Managed\ Preferences/xyz.techitout.appAutoPatch.plist
plutil -p /Library/Managed\ Preferences/xyz.techitout.appAutoPatch.plist
# Local prefs / next launch
defaults read /Library/Management/AppAutoPatch/xyz.techitout.appAutoPatch
# LaunchDaemon
launchctl print system/com.techitout.App-Auto-Patch 2>/dev/null | head
# Hung run? PID + heartbeat, then stop without losing the schedule
cat /var/run/aap.pid /var/run/aap.heartbeat
sudo appautopatch --stop
# Operational log vs verbose transcript
tail -100 /Library/Management/AppAutoPatch/logs/aap.log
sudo appautopatch --verbose-mode # only while investigating
tail -100 /Library/Management/AppAutoPatch/logs/aap_verbose.log
# What’s queued right now?
plutil -p /Library/Management/AppAutoPatch/xyz.techitout.appAutoPatchReport.plist
sudo appautopatch --pending-apps-dialog
Support
Community, best-effort support is available on the Mac Admins Slack in #app-auto-patch, or open an issue on GitHub.
Thanks to everyone who has contributed — including Dan Snelson, Andrew Clarke, Andrew Barnett, Trevor Sysock, Bart Reardon, Charles Mangin, Gil Burns, and the Installomator team.
Huge thanks to Rob Schroeder for allowing me to collaborate on such an awesome project. I’m excited to see how far we can take this!

Background patching of closed apps is huge! So excited for the new version.