Skip to content

Commit

Permalink
fix: potential epic game import failure due to incorrectly passed pla…
Browse files Browse the repository at this point in the history
…tform value
  • Loading branch information
vapidinfinity committed Nov 3, 2024
1 parent 3b6c8de commit 781c7e7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Mythic/Views/Unified/Modules/GameImport/EpicImport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,12 @@ extension GameImportView {
"import",
checkIntegrity ? nil : "--disable-check",
withDLCs ? "--with-dlcs" : "--skip-dlcs",
"--platform", platform.rawValue,
"--platform", {
switch platform {
case .macOS: "Mac"
case .windows: "Windows"
}
}(),
game.id, path
].compactMap { $0 },
identifier: "epicImport"
Expand Down

0 comments on commit 781c7e7

Please sign in to comment.