Skip to content

Make macOS DMG filename arch-aware (arm64 / x86_64)#6004

Open
geekrebel wants to merge 1 commit into
OpenShot:developfrom
geekrebel:macos-arm64-dmg-naming
Open

Make macOS DMG filename arch-aware (arm64 / x86_64)#6004
geekrebel wants to merge 1 commit into
OpenShot:developfrom
geekrebel:macos-arm64-dmg-naming

Conversation

@geekrebel
Copy link
Copy Markdown

@geekrebel geekrebel commented Apr 16, 2026

The Darwin branch of installer/build_server.py currently hard-codes
-x86_64.dmg as the DMG suffix. That name is fine on Intel Macs but
mis-labels any Apple Silicon build, and (more importantly) would prevent an
arm64 and an Intel DMG from coexisting under releases.openshot.org/mac/.

This PR detects the arch via platform.machine():

  • arm64 produces OpenShot-<version>-arm64.dmg.
  • Anything else (including Rosetta-translated Python on Apple Silicon)
    produces OpenShot-<version>-x86_64.dmg, which is byte-identical to
    today's name.

So there is no observable change for existing Intel Mac build pipelines.
Once an Apple Silicon runner is available, it will produce a clearly
labelled -arm64.dmg artifact that can sit alongside the Intel one.

The Linux AppImage and Windows .exe suffixes are left untouched; they
are still x86_64-only in practice, and changing them is out of scope
for this PR.

This is the second in a small series of Apple Silicon PRs (following
#6003, the "Apple VideoToolbox" label rename). The next planned change
is replacing the hard-coded /usr/local/Cellar/python@3.7/3.7.9_2/...
PATH in installer/build-mac-dmg.sh, which is required before any arm64
Homebrew (/opt/homebrew) machine can run the mac packaging script
end-to-end.

…roduce

OpenShot-<version>-arm64.dmg while Intel Mac builds continue to produce
OpenShot-<version>-x86_64.dmg. Arch is detected via platform.machine(); any
non-arm64 value (including Rosetta-translated Python on Apple Silicon) keeps
the existing x86_64 suffix, so Intel Mac build pipelines are byte-identical.

This lets both Intel and Apple Silicon DMGs coexist in the mac release bucket
once an arm64 runner is available, without renaming or displacing existing
Intel downloads.

Co-Authored-By: Claude Opus 4.6 (1M context) <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