Releases: bubbleee030/Caffeine
Releases · bubbleee030/Caffeine
Caffeine 1.7.0
Caffeine 1.7.0
The first feature release of the bubbleee030/Caffeine fork.
Highlights
- Launch at Login — new Preferences toggle, registers via
SMAppService.mainApp. Sandbox-safe, no helper bundle. - Allow Mac to run with lid closed — new Preferences toggle. While active and on AC power, Caffeine additionally holds a
kIOPMAssertionTypePreventSystemSleepassertion so a portable Mac stays running with the lid shut. - Traditional Chinese (zh-Hant) localization +
README.zh-Hant.mdwith a step-by-step tutorial for the two new toggles.
Under the hood
- Sleep prevention now also holds
kIOPMAssertPreventUserIdleSystemSleep, so the whole system stays awake during idle, not just the display. - Assertion timeout bumped 8 s → 30 s so the 10 s refresh always overlaps (the previous values left a 2 s gap every cycle).
- Refresh is now swap-then-release (new IDs created before old ones released) so the kernel sees zero gap even during the refresh itself.
- Workspace session observers use
Combinepublishers so they detach cleanly when the manager deallocates. - About box updated to point at this fork's repo; upstream
caffeine-app.netreferences removed throughout. - 22 unit tests via a root
Package.swift(no Xcode test target needed) + ascripts/integration-test.shthat asserts the livepmset -g assertionsoutput matches expectations.
Install
- Download
Caffeine-1.7.0.dmgfrom this release. - Open it; drag Caffeine onto Applications.
- Launch. Because the build is unsigned, the first launch needs a right-click → Open → Open to get past Gatekeeper.
Requirements
macOS 14.6 Sonoma or later, Apple silicon or Intel.
See CHANGELOG.md for the full diff.