Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.
Swift apple-silicond3dmetaldxmtdxvkfexgame-porting-toolkitgamingmac-gamingmacosmetalmoltenvksteamswiftuivkd3d-protonwhisky-alternativewindows-gameswinewine-wrapper
fix: pin winetricks to an immutable commit URL — the branch URL drifted and broke every fresh engine install with a checksum mismatch (#27, #28)
Gauthier Piarretteb30a2721b055
diff --git a/Tests/HighballKitTests/RegressionTests.swift b/Tests/HighballKitTests/RegressionTests.swiftindex 475fee0..f0a8dbf 100644--- a/Tests/HighballKitTests/RegressionTests.swift+++ b/Tests/HighballKitTests/RegressionTests.swift@@ -202,4 +202,24 @@ extension RegressionTests {let mixed = URL(fileURLWithPath: "/Users/x/Highball/Bottles/b/drive_c/Games/g.exe")XCTAssertEqual(Pin.storagePath(for: mixed, driveC: driveC), "Games/g.exe")}++ // Issues #27/#28: winetricks was sha256-pinned but fetched from .../master/..., so+ // upstream's next commit broke every fresh engine install with "checksum mismatch".+ // Manifest URLs must be immutable: a commit SHA or a tagged release asset, never a+ // branch or a latest redirect. Raw-JSON scan on purpose — it also covers blocks the+ // manifest type doesn't decode (alternatives).+ func testManifestURLsAreImmutablyPinned() throws {+ let manifestURL = URL(fileURLWithPath: #filePath)+ .deletingLastPathComponent().deletingLastPathComponent().deletingLastPathComponent()+ .appending(path: "spike/engine-manifest.json")+ let json = try String(contentsOf: manifestURL, encoding: .utf8)+ for bad in ["/master/", "/main/", "/refs/heads/", "/HEAD/", "/releases/latest/"] {+ XCTAssertFalse(json.contains(bad), "engine-manifest.json contains mutable ref '\(bad)' — pin a commit SHA or a release asset")+ }+ let manifest = try EngineManifest.load(from: manifestURL)+ for (name, component) in manifest.components {+ XCTAssertEqual(component.sha256.count, 64, "\(name): sha256 required")+ XCTAssertEqual(component.url.scheme, "https", "\(name): https only")+ }+ }}diff --git a/spike/engine-manifest.json b/spike/engine-manifest.jsonindex 9716311..cb778fa 100644--- a/spike/engine-manifest.json+++ b/spike/engine-manifest.json@@ -69,10 +69,10 @@},"winetricks": {"kind": "tool",- "url": "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks",+ "url": "https://raw.githubusercontent.com/Winetricks/winetricks/5a59ea07513b24093bd90fad943ecf9543cf05bc/src/winetricks","sha256": "f35c29737ca08a583569e6a3752d52fbe23333c5acfad5f16c4177d25eaf3f4b","license": "LGPL-2.1",- "note": "Unpinned upstream master at fetch time; Gin should pin a tagged release."+ "note": "Pinned to upstream commit 5a59ea07 (20260125+dev, 2026-08-07) — the exact bytes 0.7.x verified with dotnet48. The old branch URL drifted and broke every fresh engine install (issues #27/#28); URLs here must be immutable."}},"alternatives": {