Repository navigation
Conversation
A third release DMG, MetalSharp-<version>-All-Runtimes.dmg: the regular MetalSharp.app carrying MetalSharp-Wine-x86_64.app and MetalSharp-Wine.app, both unchanged, so the FEX | x86_64 toggle never downloads a runtime. - Packaging: METALSHARP_PACKAGE=all (package-app.sh, package-local-preview.sh) needs both Wine apps, writes MetalSharpPackage=all and reads Sparkle's appcast-all.xml; package-gpui-dmg.sh names and checks the DMG, and verify-all-runtimes-dmg.sh verifies both nested apps against their sources. - Sparkle: an "all" variant (MetalSharp-X-All-Runtimes.zip, its deltas, appcast-all.xml). - Release CI: a build-all job from the pinned MetalSharp Wine release, optional in the release like build-fex; the release publishes its DMG, archive, deltas and appcast. - Updaters: the name has neither "FEX" nor "arm64", which every in-app updater picks the regular and FEX DMGs by; the backend also skips it by name. Nothing is released by merging this: the next tag builds it.
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.
Closes #837.
This sets up a third release DMG,
MetalSharp-<version>-All-Runtimes.dmg, which carries both runtimes. Merging it publishes nothing. The nextv*tag builds this DMG next to the regular and FEX DMGs.What the package is
MetalSharp.app(MetalSharpVariant=regular, starting on x86_64) carrying bothMetalSharp-Wine-x86_64.appandMetalSharp-Wine.appinResources/. Both are copied unchanged and never re-signed, with the same CDHash checks as the other builds.Resources(app_source), so the FEX | x86_64 toggle sets up either runtime with nothing to download. An update also refreshes the inactive runtime from the app (ms_wine_refresh_inactive_app).Info.plisthasMetalSharpPackage=all, and Sparkle readsappcast-all.xml. An All Runtimes install updates to the next All Runtimes build, so it keeps both runtimes.Changes
METALSHARP_PACKAGE=all(package-app.sh→package-local-preview.sh) requiresMETALSHARP_WINE_X86_64_APPandMETALSHARP_WINE_APP, and refuses the FEX variant.package-gpui-dmg.shchecks that the app'sMetalSharpPackagematches, verifies both nested apps, names the DMG, and stages it next to the output because two Wine apps are several GB.build-dmg.shsupports it too.tools/dmg/verify-all-runtimes-dmg.sh(new):FEXnorarm64.sparkle_release.py --variant allmakesMetalSharp-X-All-Runtimes.zip, its-from<old>.deltafiles from earlier All Runtimes releases, andappcast-all.xml.build-alljob downloads both zips from the pinned MetalSharp Wine release (each checked againstSHA256SUMSand codesign).DMG-SIGNING-ALL.txt.releasejob is optional on it, as withbuild-fex, so a failure leaves the DMG out instead of blocking the release. It publishes the DMG, zip, deltas andappcast-all.xml.arm64DMG.updater.crelease_assets_find) puts names containingFEXin the FEX slot and prefers anarm64name for the regular one. A name with neither never displaces the regular DMG, so 1.5.0 and older are safe without a change.All-Runtimesnames explicitly.updater_test.pylists the asset first in the synthetic release.verify-dmg-workflow.pychecks the new job, the feed, the DMG name and the updater skip.AGENTS.md,docs/{development,updates,architecture,user-guide}.mdand the CHANGELOG (Unreleased).Things to know before the next release
macos-26runs short, it fails alone and the release goes out without this DMG. A self-hosted runner or a disk-cleanup step would fix that.MetalSharp-Wine.app. That happens on a build switch, or on a release withoutappcast-all.xml. The FEX runtime stays installed, and is downloaded again only if uninstalled.PR Readiness (MANDATORY)
workflow_dispatchrun of Release CI would show it beforehand./Users/...paths introducedMETALSHARP_PACKAGEis unset. Rollback: revert this PR.updater_test.py,test_sparkle_release.py, the DMG workflow contract)Tests (Linux)
python3 tools/ci/verify-dmg-workflow.pypasses.python3 -m unittest tools.sparkle.tests.test_sparkle_releasepasses: the "all" names, deltas only from earlier All Runtimes releases, and noFEXorarm64in its names.python3 -m unittest tools.dmg.tests.test_sign_notarize_dmgpasses.tools/ci/shellcheck.shandshellcheck -S warningare clean on the changed scripts;bash -npasses on all of them;release.ymlparses.clang-format-diffis clean onupdater.c.updater_test.pyand the C build run in the macOS CI here.Generated by Claude Code