Repository navigation
Give the disk image a Retina background and centre its icons on the arrow - #253
Merged
Merged
Conversation
…rrow The new background (2026-10-01) is exported at 960x540 and, for the first time, at 1920x1080 as [email protected], which dmgbuild finds by name and joins to the 1x with tiffutil -cathidpicheck; without it a Retina Mac showed the 1x scaled up and blurred. Its arrow sits 44 points further right, centred at x=479, so the app and the Applications link move from (260, 290) and (610, 290) to (304, 290) and (654, 290), the layout iLEAPP, ALEAPP, RLEAPP, VLEAPP and DLEAPP now use. Two tests: the icons must straddle the arrow found on the background, and the @2x image must be exactly twice the 1x. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
New disk image background, dated 2026-10-01, exported from the source artwork at two sizes:
packaging/dmg_background.png, 960x540.packaging/[email protected], 1920x1080. This is new for GLEAPP. dmgbuild finds it by name and joins it to the 1x withtiffutil -cathidpicheck. Until now a Retina Mac showed the 1x scaled up and blurred.The arrow on the new background sits 44 points further right, centred at x=479. The app and Applications icons move with it, from (260, 290) and (610, 290) to (304, 290) and (654, 290). iLEAPP, ALEAPP, RLEAPP, VLEAPP and DLEAPP now use the same layout.
Tests
Two new tests in
tests/test_build_macos.py:test_dmg_icons_sit_either_side_of_the_arrow: finds the arrow on the background and requires the two icons to straddle it. It fails with the old positions.test_dmg_retina_background_is_exactly_twice_the_size: checks the@2ximage is exactly twice the size of the 1x, whichtiffutil -cathidpicheckrequires..claude/rules/gleapp-cross-platform.mddescribes both.Verified locally
macOS arm64:
tests/test_build_macos.pypasses.packaging/dmg_settings.pyaround a stub.app. Its.background.tiffholds both the 960x540 and 1920x1080 images, and its.DS_Storeplaces the icons at (304, 290) and (654, 290).I could not run a full local build on this machine. The spec's GPL guard refused libraries that PyInstaller picked up from the local environment (
libx264,libx265,librubberband,libvidstab). That is unrelated to this change.test_builds.ymlbuilds the real disk images on this PR.🤖 Generated with Claude Code