Feature/macOS dmg and icons#36
Merged
Merged
Conversation
Velopack ships macOS as a .pkg installer + a Portable .zip (a zipped .app) but emits no .dmg. Add a step to the velopack-osx-arm64 and velopack-osx-x64 jobs that wraps the same .app in a drag-install .dmg (hdiutil, two-step UDRO→UDZO) so Mac users get the familiar "drag to Applications" flow. - Runs after `vpk pack`, before the rename step, so the Velopack Portable .zip still has its deterministic name (Genie5-osx-Portable.zip / Genie5-osx-x64-Portable.zip — verified locally with vpk 1.1.1). - Output is pre-named (02-macOS-Apple-Silicon-Genie5.dmg / 03-macOS-Intel-Genie5.dmg) so the existing `velopack-releases/*` attach glob uploads it with no further wiring. Verified locally end-to-end: vpk pack → unzip portable → hdiutil → a 45 MB .dmg that mounts with Genie5.app + an /Applications symlink.
The vpk pack steps didn't pass --icon, so every produced package used Velopack's generic DefaultApp icon. Point each platform job at the repo's icon assets (the set donated by @dylb0t): - Windows → src/Genie.App/Assets/app.ico - Linux → src/Genie.App/Assets/app.png - macOS → src/Genie.App/Assets/app.icns (arm64 + x64) This gives the real Genie 5 icon to the Setup.exe/shortcut, the AppImage, the .app, and — combined with the previous commit — the macOS drag-install .dmg. Verified locally with vpk 1.1.1 on macOS: the packed Genie5.app embeds our app.icns byte-for-byte (Info.plist CFBundleIconFile = app.icns). The Windows/Linux --icon wiring is the same flag with the platform-appropriate format; it runs on each native runner in CI.
Contributor
|
Approved — clean change, no conflicts with anything else in the workflow. All three icon files (.ico, .png, .icns) are already in the repo, so the new --icon flags will work. One thing for later (not a blocker): the new .dmg will trigger macOS's "developer can't be verified" warning until we sign + notarize through an Apple Developer account — same situation Windows is in until we wire up code signing. Thanks for the careful comments — every choice has a reason next to it, which made this an easy review. |
This was referenced Jun 3, 2026
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.
Pull Request
Summary
Added dmg packaging for macOS, with icon, and also added icon to exe build.
Type of Change
Testing
Able to test on local macOS but needs some verification from a windows client.
Checklist