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
An Epic size legendary could not give is not kept as Unknown for a week
Gabe10d280b523fe
diff --git a/Sources/HighballKit/GameSizes.swift b/Sources/HighballKit/GameSizes.swiftindex 42b8993..2bd749b 100644--- a/Sources/HighballKit/GameSizes.swift+++ b/Sources/HighballKit/GameSizes.swift@@ -38,10 +38,14 @@ public enum DiskUsage {extension EpicStore {/// What legendary says a download of the game's build for `platform` ("Windows" or "Mac")- /// takes, from its manifest: the bytes fetched and the installed size.+ /// takes, from its manifest: the bytes fetched and the installed size. Throws when legendary's+ /// answer has no manifest to read, so an answer that says nothing is never kept as the size.public func downloadEstimate(_ appName: String, platform: String = "Windows") throws -> DownloadEstimate {let out = try capture(["info", appName, "--json", "--platform", platform])- return Self.parseEstimate(Data(out.utf8)) ?? DownloadEstimate(download: nil, disk: nil)+ guard let estimate = Self.parseEstimate(Data(out.utf8)) else {+ throw HighballError.invalid("legendary info gave no manifest for \(appName) (\(platform))")+ }+ return estimate}static func parseEstimate(_ data: Data) -> DownloadEstimate? {