diff --git a/Mist/Model/Installer.swift b/Mist/Model/Installer.swift index e37cc85..bc000c8 100644 --- a/Mist/Model/Installer.swift +++ b/Mist/Model/Installer.swift @@ -745,8 +745,16 @@ struct Installer: Decodable, Hashable, Identifiable { URL(fileURLWithPath: "/Volumes/\(id)") } + var applicationName: String { + if version.range(of: "^27", options: .regularExpression) != nil { + return "Install macOS 27 Golden Gate" + } + + return "Install \(name)" + } + var temporaryInstallerURL: URL { - temporaryDiskImageMountPointURL.appendingPathComponent("Applications/Install \(name).app") + temporaryDiskImageMountPointURL.appendingPathComponent("Applications/\(applicationName).app") } var temporaryISOMountPointURL: URL {