Skip to content

Add proper macOS support, with DMG build script#226

Open
anthonyhuben wants to merge 1 commit intoTNTwise:v2-mainfrom
anthonyhuben:v2-main
Open

Add proper macOS support, with DMG build script#226
anthonyhuben wants to merge 1 commit intoTNTwise:v2-mainfrom
anthonyhuben:v2-main

Conversation

@anthonyhuben
Copy link

@anthonyhuben anthonyhuben commented Feb 14, 2026

REVISED build.py

  • macOS/Linux builds now reliably generate mainwindow.py and resources_rc.py.
  • Errors in Qt code generation now fail fast with actionable exceptions instead of continuing with broken artifacts.
  • Windows build path logic remains unchanged.

NEW build_macos_dmg.sh

  • Validates macOS environment.
  • Uses python3.11 by default (or --python PATH).
  • Optionally cleans prior artifacts (default behavior; disable with --no-clean).
  • Runs build.py --build pyinstaller --copy_backend.
  • Creates a drag-and-drop DMG (.app + /Applications symlink).
  • Prints output file size and SHA-256.

macOS .dmg Installer File

REVISED build.py
- macOS/Linux builds now reliably generate mainwindow.py and resources_rc.py.
- Errors in Qt code generation now fail fast with actionable exceptions instead of continuing with broken artifacts.
- Windows build path logic remains unchanged.

NEW build_macos_dmg.sh
- Validates macOS environment.
- Uses python3.11 by default (or --python PATH).
- Optionally cleans prior artifacts (default behavior; disable with --no-clean).
- Runs build.py --build pyinstaller --copy_backend.
- Creates a drag-and-drop DMG (.app + /Applications symlink).
- Prints output file size and SHA-256.
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

Comments