From 30cd9f1bd98cae2ad31193bcd2d28a833149f5e5 Mon Sep 17 00:00:00 2001 From: phmg701 <68058405+phmg701@users.noreply.github.com> Date: Tue, 15 Sep 2026 12:02:01 +0200 Subject: [PATCH] Fix install media creation for macOS Golden Gate 27 (#241) --- Mist/Model/Installer.swift | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 {