rtrouton / create_macos_recovery

Tool for repairing the Recovery volume (APFS) or partition (HFS+) on Macs running macOS 10.13.x or later.
MIT License
118 stars 23 forks source link

pkg no longer available #8

Closed bezik46 closed 2 years ago

bezik46 commented 4 years ago

SecUpd2020-003HighSierra.RecoveryHDUpdate.pkg is not there Maybe it would be "better" to use SecUpd2020-003Mojave.RecoveryHDUpdate.pkg ?

daydr3am3r commented 4 years ago

The new link is: http://swcdn.apple.com/content/downloads/14/54/001-08570-A_XCP1PVIXQK/xg4hvg6zgpoxonqkgiw2e2cqo1c0isl97q/SecUpd2020-004HighSierra.RecoveryHDUpdate.pkg

It would make sense to have additional logic which would:

  1. Download https://swscan.apple.com/content/catalogs/others/index-10.13-1.sucatalog
  2. Look for the string HighSierra.RecoveryHDUpdate.pkg
  3. Populate the _recoverypackage and _recoverydownload variables accordingly