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
// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "highball",
platforms: [.macOS(.v14)],
products: [
.library(name: "HighballKit", targets: ["HighballKit"]),
.executable(name: "highball", targets: ["highball"]),
.executable(name: "HighballApp", targets: ["HighballApp"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
.package(url: "https://github.com/sparkle-project/Sparkle", from: "2.6.0"),
],
targets: [
.target(name: "HighballKit", path: "Sources/HighballKit", swiftSettings: [.enableUpcomingFeature("StrictConcurrency")]),
.executableTarget(
name: "highball",
dependencies: ["HighballKit", .product(name: "ArgumentParser", package: "swift-argument-parser")],
path: "Sources/highball"),
.executableTarget(
name: "HighballApp",
dependencies: ["HighballKit", .product(name: "Sparkle", package: "Sparkle")],
path: "Sources/HighballApp",
linkerSettings: [.unsafeFlags(["-Xlinker", "-rpath", "-Xlinker", "@executable_path/../Frameworks"])]),
.testTarget(name: "HighballKitTests", dependencies: ["HighballKit"], path: "Tests/HighballKitTests"),
]
)