
Quitting an app automatically when its last window closes, this background utility frees memory that would otherwise stay in use. A short delay avoids quitting apps that close a splash screen, background apps such as VPNs are detected and kept running, and a blacklist covers exceptions. A text log records each quit, and it installs via Homebrew for scripted deployment.
anchor apple generic and identifier "io.lawand.last-window-quits" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = XTRB75C6PG)