Desktop Mac support, MacBook Neo, build pipeline improvements
What's new
-
Desktop Mac detection. WhatCable now detects when it's running on a desktop Mac (Mac Studio, Mac mini, Mac Pro) and shows an info banner instead of empty port data. Desktop Macs don't have a battery controller, so per-port PD diagnostics aren't available through the usual path. Thanks to @jshier for the cross-machine IOKit dumps on #95 that made this possible.
-
MacBook Neo (A-series) support. The A-series chip uses a new IOKit interface class (
AppleHPMInterfaceType18). WhatCable now picks up ports on these machines. -
Simplified Chinese (zh-Hans) translation. Full translation of the menu bar app and core strings. Thanks to @JimmFly for the contribution on #94.
-
FedDetails VID fallback. On laptops, WhatCable now reads the battery controller's federated identity data as a fallback source for charger vendor/product IDs.
Internal
- Build scripts default to OSS-only builds. Pro features require an explicit
--proflag. - Widget extension now supports compile-time feature gating via
SWIFT_ACTIVE_COMPILATION_CONDITIONS. - Widget data model gains a
recentPowerfield for future per-port power history (empty in current builds).