8000 GitHub - tame-gg/powerflow: Powerflow - a power monitor (fork of lzt1008/powerflow) · GitHub
[go: up one dir, main page]

Skip to content
tame-ggPublic

About

Powerflow - a power monitor (fork of lzt1008/powerflow)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

156 Commits

Folders and files

Repository files navigation

Powerflow (macOS 27)

Fork of lzt1008/powerflow with fixes for macOS 27 beta (Darwin 27).

Powerflow monitors Mac power usage and charging status from the menu bar / tray.

Powerflow is a tame.gg project.

macOS 27 changes

Upstream v0.2.2 can flash-quit on launch under macOS 27 because IORegistry / AppleSmartBattery plists changed shape. A bad Result transmute then turned parse failures into a SIGSEGV while panicking.

This fork:

  • Fixes the IORegistry Result transmute / panic path (no more launch SIGSEGV)
  • Makes IORegistry serde resilient with serde(default)
  • Falls back to SMC-only metrics when IORegistry parse fails
  • Restores mAh capacity fields from nested BatteryData when top-level keys are missing on macOS 27

Upstream issue/PR context: lzt1008/powerflow#17, PR #21.

Build

Requires Rust, Node, and pnpm:

pnpm install
SQLX_OFFLINE=true pnpm tauri build

Debug binary:

SQLX_OFFLINE=true cargo build -p powerflow

Install via Homebrew

brew tap tame-gg/tap
brew trust tame-gg/tap   # Homebrew 6+
brew install --cask powerflow

Tap: tame-gg/homebrew-tap. Builds are unsigned, so the cask clears Gatekeeper quarantine after install.

Install / run (manual)

Download from Releases, clear quarantine if needed, and open:

xattr -cr /Applications/Powerflow.app
open /Applications/Powerflow.app

License

MIT — see LICENSE. Original project by lzt1008.

About

Powerflow - a power monitor (fork of lzt1008/powerflow)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0