Skip to content

fix: add macOS compatibility for GUI#4

Open
melights wants to merge 2 commits into
JuniverseCoder:masterfrom
melights:master
Open

fix: add macOS compatibility for GUI#4
melights wants to merge 2 commits into
JuniverseCoder:masterfrom
melights:master

Conversation

@melights

@melights melights commented Apr 21, 2026

Copy link
Copy Markdown

Summary

  • Replace Windows-only os.startfile() with cross-platform folder opening using open (macOS) / xdg-open (Linux)
  • Gracefully degrade when tkdnd library is unavailable (Tcl/Tk 9.x incompatibility on macOS) — drag-and-drop is disabled but Browse buttons work normally

Test plan

  • Verified GUI launches on macOS (Apple Silicon, Python 3.12, Tcl/Tk 9.x)
  • Verified CLI --help works
  • Verified all module imports succeed
  • Verify "Open Output Folder" / "Open Debug Folder" buttons work on macOS
  • Verify no regression on Windows (unchanged os.startfile path)

🤖 Generated with Claude Code

melights and others added 2 commits April 21, 2026 15:08
- Replace Windows-only `os.startfile()` with cross-platform folder
  opening using `open` (macOS) / `xdg-open` (Linux)
- Gracefully degrade when tkdnd library is unavailable (Tcl/Tk 9.x
  incompatibility on macOS) — drag-and-drop is disabled but Browse
  buttons work normally

Co-Authored-By: Claude Opus 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