Skip to content

Releases: bubbleee030/Caffeine

Caffeine 1.7.0

19 May 07:51

Choose a tag to compare

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 kIOPMAssertionTypePreventSystemSleep assertion so a portable Mac stays running with the lid shut.
  • Traditional Chinese (zh-Hant) localization + README.zh-Hant.md with 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 Combine publishers so they detach cleanly when the manager deallocates.
  • About box updated to point at this fork's repo; upstream caffeine-app.net references removed throughout.
  • 22 unit tests via a root Package.swift (no Xcode test target needed) + a scripts/integration-test.sh that asserts the live pmset -g assertions output matches expectations.

Install

  1. Download Caffeine-1.7.0.dmg from this release.
  2. Open it; drag Caffeine onto Applications.
  3. Launch. Because the build is unsigned, the first launch needs a right-click → OpenOpen to get past Gatekeeper.

Requirements

macOS 14.6 Sonoma or later, Apple silicon or Intel.

See CHANGELOG.md for the full diff.