Files
Lucas Manuel RodriguezandAllen Houchins 4b8a8435af Amend Docker Desktop patch policy SQL (#50041)
My workstation has Docker Desktop 4.84.0 (latest as of today) and was
incorrectly failing the "macOS - Docker Desktop up to date" patch
policy.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
- Improved Docker Desktop patch-status detection on macOS by excluding
application paths containing `.back` anywhere in the path, avoiding
incorrect patching of nested/backup bundles.

- **Improvements**
- Enhanced Docker Desktop install and uninstall cleanup to remove stale
`Docker.app.back` artifacts and related staged in-progress update copies
(including cleanup during upgrade timing).

- **Tests**
- Updated macOS Docker Desktop ingestion/patched check expectations to
match the new `.back` path filtering behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Allen Houchins <allenhouchins@mac.com>
2026-07-28 14:05:36 -03:00

14 lines
481 B
JSON

{
"name": "Docker Desktop",
"slug": "docker-desktop/darwin",
"unique_identifier": "com.electron.dockerdesktop",
"token": "docker-desktop",
"installer_format": "dmg",
"post_uninstall_scripts": [
"sudo rm -rf '/Applications/Docker.app.back'",
"sudo rm -rf /Users/*/Library/'Application Support'/com.docker.install"
],
"default_categories": ["Developer tools"],
"install_script_path": "ee/maintained-apps/inputs/homebrew/scripts/docker_desktop_install.sh"
}