fix: add macOS helper extension support - #115
Open
GrantWasil wants to merge 2 commits into
Open
Conversation
GrantWasil
marked this pull request as ready for review
July 30, 2026 22:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OSXplatform explicitly and use Steam's macOS browser-profile path.IOPlatformUUIDand Steam CEF's empty HMAC seed.Secure Preferencesas authoritative on macOS, validate its extension/developer-mode/super MACs, and safely re-sign cleanup changes.Steam Helperandsteam_osx.Root cause
The installer treated every non-Windows platform as Linux. On macOS this selected
~/.steam/steam/config/htmlcache/Default, invoked Linux-only process/UI commands, and skipped Chromium preference signing.There was also an existing tracked-preference bug: the developer-mode MAC was written to
protection.ui.developer_mode. Chromium stores path hashes beneathprotection.macs, so the correct location isprotection.macs.extensions.ui.developer_mode.User impact
With a macOS-capable Millennium build, Extendium can now locate the real Steam CEF profile and install its helper extension with valid tracked-preference signatures. Failed or stale helper entries no longer produce a false installed state from
Preferencesalone.The persistent machine identifier is read locally only for Chromium's HMAC calculation and is never logged or transmitted.
Validation
bun test— 3 passed, including developer-mode and super-MAC golden vectors plus canonical serialization.Secure Preferencesin a read-only check.millennium-ttcreported a completed production bundle with the repository's existing circular-dependency warning; its process retained an open event loop and was stopped after completion.bun run lintstill reports the pre-existingeslint.config.mjs:19unsafe-assignment error. That file is unchanged by this PR.Dependency
This fixes Extendium's side of macOS support. Testing inside Steam still requires a macOS-capable Millennium build; upstream restoration is currently tracked in SteamClientHomebrew/Millennium#841.
Closes #113