Repository navigation
Clamshell 0.1.1
Pre-releaseFixes a bug that could keep the Mac awake indefinitely.
Fixed
The menu bar app opted out of App Nap with .userInitiated, which also sets the idleSystemSleepDisabled bit. The app therefore held a power assertion for as long as it ran, so after a timed session expired the Mac stayed awake instead of sleeping — the opposite of what the tool is for.
It now uses .userInitiatedAllowingIdleSystemSleep, which keeps the countdown timers responsive without blocking sleep. The policy lives in AppNapPolicy with a regression test asserting it never blocks idle sleep.
If you installed 0.1.0, upgrade: until you do, quit the app when you want the Mac to sleep normally.
Install
Download Clamshell-0.1.1.pkg below, open it and follow the installer.
The package is not notarised, so the first launch may need System Settings → Privacy & Security → Open Anyway.
See CHANGELOG.md for details.