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
home location: probe for c: names the volume check used to miss
Silverdragon1224851f42512ef
diff --git a/Sources/HighballKit/Paths.swift b/Sources/HighballKit/Paths.swiftindex 03c8f32..c6cbfde 100644--- a/Sources/HighballKit/Paths.swift+++ b/Sources/HighballKit/Paths.swift@@ -99,6 +99,13 @@ public struct HighballPaths: Sendable {catch {return "That drive cannot hold a Windows environment: an environment's drive letters are symbolic links, and this volume does not support them. Format it as APFS, or pick another drive."}+ // Wine's C: is dosdevices/c: → drive_c. A share can allow `link` and still reject a colon.+ do {+ try fm.createDirectory(at: probe.appending(path: "drive_c"), withIntermediateDirectories: true)+ try fm.createSymbolicLink(atPath: probe.appending(path: "c:").path, withDestinationPath: "drive_c")+ } catch {+ return "That drive cannot hold a Windows environment: an environment's drive letters are files named c:, and this volume does not allow a colon in a name. Pick a folder on this Mac, an APFS disk, or a network share that keeps Unix file names."+ }let bin = probe.appending(path: "bin")guard fm.createFile(atPath: bin.path, contents: Data("#!/bin/sh\nexit 0\n".utf8),attributes: [.posixPermissions: 0o755]) else {diff --git a/Tests/HighballKitTests/HomeLocationTests.swift b/Tests/HighballKitTests/HomeLocationTests.swiftindex 5583f9f..b551b2e 100644--- a/Tests/HighballKitTests/HomeLocationTests.swift+++ b/Tests/HighballKitTests/HomeLocationTests.swift@@ -73,7 +73,7 @@ final class HomeLocationTests: XCTestCase {try FileManager.default.createDirectory(at: dir, withIntermediateDirectories: true)XCTAssertNil(HighballPaths.volumeProblem(dir, uuid: "fixed-uuid"))XCTAssertEqual(try FileManager.default.contentsOfDirectory(atPath: dir.path), [],- "the probe cleans up after itself, including the symlink and the executable")+ "the probe cleans up after itself, including the c: link and the executable")}func testVolumeProbeReportsAnUnwritableFolder() throws {