Skip to content

Macos - #2

Open
brokkoli71 wants to merge 5 commits into
masterfrom
macos
Open

Macos#2
brokkoli71 wants to merge 5 commits into
masterfrom
macos

Conversation

@brokkoli71

Copy link
Copy Markdown
Owner

No description provided.

brokkoli71 and others added 5 commits June 2, 2026 16:27
- Detect dark/light mode and accent colour via `defaults read` in
  _load_theme() (runs first, before Omarchy/GNOME/KDE blocks)
- Add macos/ folder: install.md, Brewfile, and build_app.sh starter
  for PyInstaller .app bundles
- Add macOS CI job (macos-latest / Apple Silicon) to ci.yml
- Add TestMacOSTheme (8 tests) to test_pdfeditor.py; all mocked so
  they run on Linux CI too

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The offscreen backend is Linux-only. macOS GitHub Actions runners have
a Quartz window server, so GTK can use its default backend there.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
On darwin _load_theme() takes the macOS branch before reaching the TOML
reader, so mock sys.platform="linux" to exercise the TOML code path.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant