Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ninxsoft committed Jun 11, 2024
1 parent 103eace commit a4a0e4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Mist/Helpers/Generator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ enum Generator {

// Workaround to make macOS Sierra 10.12 createinstallmedia work
if installer.version.hasPrefix("10.12") {
let url: URL = installer.temporaryInstallerURL.appendingPathComponent("/Contents/Info.plist")
let url: URL = installer.temporaryInstallerURL.appendingPathComponent("Contents/Info.plist")
try updatePropertyList(url, key: "CFBundleShortVersionString", value: "12.6.03")
}

Expand Down Expand Up @@ -255,7 +255,7 @@ enum Generator {

!options.quiet ? PrettyPrint.print("Created bootable disk image '\(destinationURL.path)'", noAnsi: options.noAnsi) : Mist.noop()
} else {
let installESDURL: URL = installer.temporaryInstallerURL.appendingPathComponent("/Contents/SharedSupport/InstallESD.dmg")
let installESDURL: URL = installer.temporaryInstallerURL.appendingPathComponent("Contents/SharedSupport/InstallESD.dmg")

!options.quiet ? PrettyPrint.print("Converting disk image '\(installESDURL.path)'...", noAnsi: options.noAnsi) : Mist.noop()
arguments = ["hdiutil", "convert", installESDURL.path, "-format", "UDTO", "-o", cdrURL.path]
Expand Down Expand Up @@ -359,7 +359,7 @@ enum Generator {

// Workaround to make macOS Sierra 10.12 createinstallmedia work
if installer.version.hasPrefix("10.12") {
let url: URL = installer.temporaryInstallerURL.appendingPathComponent("/Contents/Info.plist")
let url: URL = installer.temporaryInstallerURL.appendingPathComponent("Contents/Info.plist")
try updatePropertyList(url, key: "CFBundleShortVersionString", value: "12.6.03")
}

Expand Down

0 comments on commit a4a0e4f

Please sign in to comment.