Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: bubbleee030/Caffeine

Release list

Caffeine 1.7.0

Choose a tag to compare

@bubbleee030 bubbleee030 released this 19 May 07:51

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.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.