Forked from niw/download_macos_and_create_install_disk.sh
Created
June 13, 2021 15:39
-
-
Save zchee/c74cf028836e091992efadef50e9f448 to your computer and use it in GitHub Desktop.
A script to download macOS install image and create an install disk image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Tell Mac App Store that we've enrolled `DeveloperSeed`. | |
| # This is just for Mac App Store and it's not really enrolling. Actual `enroll` can be done by | |
| # sudo /System/Library/PrivateFrameworks/Seeding.framework/Versions/A/Resources/seedutil enroll DeveloperSeed | |
| /usr/libexec/PlistBuddy -c "clear dict" -c "add :SeedProgram string DeveloperSeed" /Users/Shared/.SeedEnrollment.plist | |
| # Open Mac App Store to download macOS 10.14 Mojave. | |
| /usr/bin/open macappstores://itunes.apple.com/app/id1354523149 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment