Apple Silicon support with custom volume HUD#40
Open
juniqlim wants to merge 4 commits into
Open
Conversation
- Remove EXCLUDED_ARCHS = arm64; bump deployment target 10.10 -> 13.0 - Drop compile-time link to OSD.framework; load via dlopen at runtime - Add volume percent label to menu popup slider - Add temporary NSLog for debugging
- Replace broken OSD private API call with self-drawn NSWindow overlay - Show speaker icon, chiclet bar, and volume percentage on key press - Auto-fade after 1.2s, positioned at bottom-center of active screen - Remove debug NSLog statements
Tint the SF Symbol via an offscreen image with sourceAtop fill since NSColor.set() is ignored when drawing template images directly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Changes
Why
The bundled `OSD.framework` is x86_64-only, so the project couldn't build natively on Apple Silicon. The system OSD chiclet API also stopped rendering steps on macOS Tahoe (26), so even Rosetta builds showed only a blank bar. A self-drawn HUD avoids both problems and isn't tied to private API behavior.
Test plan