Skip to content

Clamshell 0.1.1

Pre-release
Pre-release

Choose a tag to compare

@Bagilov Bagilov released this 18 Oct 08:42
· 12 commits to main since this release

Fixes 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.