Repository navigation
Package a macOS .app and .dmg from the one-folder build - #15
Merged
Merged
Conversation
40 tracked text files were LF and 18 were CRLF, none mixed, so every edit made from a Mac or Linux had to detect and preserve the ending of the file it touched or produce a whole-file diff. iLEAPP and ALEAPP are LF with no attributes file; GLEAPP gets one so the rule is enforced on commit and on checkout rather than remembered. `* text=auto eol=lf` normalizes text; wheels, the ONNX model and images are marked -text so normalization can never touch them. The 18 CRLF files are renormalized here. Content is unchanged: git diff --ignore-cr-at-eol against the parent is empty apart from .gitattributes itself. Co-Authored-By: Claude Fable 5.1 <[email protected]>
The spec already built a bare executable on macOS; it now wraps the one-folder build in GLEAPP.app through PyInstaller's BUNDLE, with the version read from gleapp/__init__.py as text and the identifier org.leapp.gleapp.app, the shape LAVA uses. No icon ships yet, so PyInstaller's default stands in until packaging/ carries a gleapp.icns. PyInstaller strips signatures while it builds, so codesign belongs after phase 1, on the finished bundle. The driver's installer phase now dispatches by platform: Inno Setup on Windows as before, a UDZO disk image via hdiutil on macOS, verified with hdiutil verify, and a plain refusal elsewhere. --sign-tool on macOS is refused with a pointer to codesign, since it is an Inno Setup concept. test_builds' macOS leg builds the .dmg and checks the bundle's own binary and Info.plist. Proven locally: GLEAPP.app answers --version, its plist carries 0.1.0 and the identifier, and the .dmg verifies. Co-Authored-By: Claude Fable 5.1 <[email protected]>
abrignoni
force-pushed
the
feat/macos-bundle
branch
from
September 3, 2026 04:53
3945397 to
d494b96
Compare
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.
Adds macOS packaging: phase 1 now also produces
dist/GLEAPP.appon macOS, and phase 2 wraps it indist/GLEAPP-<version>.dmg.BUNDLEwith the version read fromgleapp/__init__.pyand the identifierorg.leapp.gleapp.app, the shape LAVA uses. No icon ships yet, so PyInstaller's default stands in untilpackaging/has agleapp.icns.installerdispatches by platform: Inno Setup on Windows, ahdiutilUDZO image on macOS verified withhdiutil verify, and a plain refusal elsewhere.--sign-toolon macOS is refused with a pointer tocodesign, which belongs after phase 1 because PyInstaller strips signatures while it builds..dmgand checks the bundle's own binary andInfo.plist.Proven locally: the bundle's binary answers
--version, its plist carries0.1.0and the identifier, and the 104 MB.dmgverifies.Stacked on #14 so every file it touches is already LF; merge #13 and #14 first and this lands cleanly. It stays out of #13's hunks.
🤖 Generated with Claude Code