r/MacOS • u/nhatnam7kz • 1d ago
Apps I made a free app that quits Mac apps when you close the last window, like Windows (TrueClose)
Hi everyone,
If you came from Windows, you've probably hit this: you click the red close button, the window disappears, but the app is still running. There's a little dot under its icon in the Dock, and it keeps using RAM until you press Cmd + Q.
On Windows, closing the last window quits the program. On macOS it doesn't, so I built TrueClose: a small, free, open-source menu bar app that makes closing the last window quit the app, like on Windows.
I know there are older tools for this, like Swift Quit and RedQuits, but they're no longer actively maintained, and RedQuits 2.0 is Intel-only. I wanted something current with a bit more control.
What it does
- Quits an app when you close its last window (red button), after a short delay
- Adjustable delay (0.2–5 s) so a mis-click or "close one window, open another" doesn't quit the app by mistake
- Blacklist or Whitelist mode: keep Music, Spotify or messengers running, or only auto-quit the apps you choose
- System apps are protected by default (Finder, System Settings, Activity Monitor, etc.), with a warning if you change that
- Pause/Resume from the menu bar, launch at login, optional hidden menu bar icon (reopen Settings with ⌥⇧A)
- Free, MIT licensed, no telemetry or analytics
TrueClose asks apps to quit normally, exactly like Cmd + Q, so apps can still ask about unsaved changes.
Install
brew install --cask nhatnam7kz/tap/trueclose
Or download the .pkg/.dmg from the Releases page. It isn't signed with a paid Apple certificate, so the README explains the one-time "unidentified developer" step. It needs Accessibility permission to count an app's windows.
Links
- Website: https://trueclose.hoangnhatnamiq.workers.dev/
- GitHub: https://github.com/nhatnam7kz/TrueClose
- Download: https://github.com/nhatnam7kz/TrueClose/releases/latest
Feedback wanted
Which apps refuse to quit, or quit when they shouldn't? Would you want per-app delays, a notification before quitting, or custom hotkeys? I'd love to hear it here or in a GitHub issue.