Last active
September 8, 2025 20:13
-
-
Save b0gdanw/26f528dda5abea7ce6fe633ca2ef1063 to your computer and use it in GitHub Desktop.
Revisions
-
b0gdanw revised this gist
Mar 22, 2023 . 1 changed file with 8 additions and 11 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,22 +1,19 @@ #!/bin/zsh #Get Big Sur, Monterey & Ventura InstallAssistant.pkg links from Apple #For macOS 11 (Big Sur), 12 (Monterey) and 13 (Ventura), Apple provides the Install macOS ___.app packaged as InstallAssistant.pkg #The links for the InstallAssistant packages are listed in the seed catalogs #The seed catalogs are listed in /System/Library/PrivateFrameworks/Seeding.framework/Versions/A/Resources/SeedCatalogs.plist #The script gets the CustomerSeed seed catalog link from SeedCatalogs.plist, then gets the macOS versions available from the Info.plist and prints the links for the corresponding InstallAssistant.pkg #Other options #PublicSeed (Public Beta) #link=$( plutil -p /System/Library/PrivateFrameworks/Seeding.framework/Resources/SeedCatalogs.plist | grep 'PublicSeed' | sed -e s/'"PublicSeed" => "'//g -e s/'.gz"'//g -e s/\ //g ) #DeveloperSeed (Developer Beta) #link=$( plutil -p /System/Library/PrivateFrameworks/Seeding.framework/Resources/SeedCatalogs.plist | grep 'DeveloperSeed' | sed -e s/'"DeveloperSeed" => "'//g -e s/'.gz"'//g -e s/\ //g ) link=$( plutil -p /System/Library/PrivateFrameworks/Seeding.framework/Resources/SeedCatalogs.plist | grep 'CustomerSeed' | sed -e s/'"CustomerSeed" => "'//g -e s/'.gz"'//g -e s/\ //g ) for file in $(curl -# $link | grep Info.plist | grep -Evw '(Info.plist.integrityDataV1|InstallInfo.plist)' | sed -e s/"<string>"//g -e s/"<\/string>"//g -e s/\ //g); do curl -# $file | egrep -EA 1 '(>Build<|OSVersion)' | sed -e s/"<string>"//g -e s/"<\/string>"//g -e s/\ //g | sed -e s/"<key>"//g -e s/"<\/key>"//g -e s/\ //g echo $file | sed -e "s/Info.plist/InstallAssistant.pkg/g" done -
b0gdanw revised this gist
Jan 13, 2022 . 1 changed file with 11 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,11 +3,20 @@ #For macOS 11 (Big Sur) and 12 (Monterey), Apple provides the Install macOS ___.app packaged as InstallAssistant.pkg #The links for the InstallAssistant packages are listed in the seed catalogs #The seed catalogs are listed in /System/Library/PrivateFrameworks/Seeding.framework/Versions/A/Resources/SeedCatalogs.plist #The script gets the Public Release seed catalog link from SeedCatalogs.plist, then gets the macOS versions available from the Info.plist and prints the links for the corresponding InstallAssistant.pkg #Other seed catalogs: #Public Release Big Sur #link=$( plutil -p /System/Library/PrivateFrameworks/Seeding.framework/Resources/SeedCatalogs.plist | grep 'CustomerSeed' | sed -e s/'"CustomerSeed" => "'//g -e s/'.gz"'//g -e s/\ //g -e s/10.16customerseed-//g ) #PublicSeed #link=$( plutil -p /System/Library/PrivateFrameworks/Seeding.framework/Resources/SeedCatalogs.plist | grep 'PublicSeed' | sed -e s/'"PublicSeed" => "'//g -e s/'.gz"'//g -e s/\ //g ) #DeveloperSeed #link=$( plutil -p /System/Library/PrivateFrameworks/Seeding.framework/Resources/SeedCatalogs.plist | grep 'DeveloperSeed' | sed -e s/'"DeveloperSeed" => "'//g -e s/'.gz"'//g -e s/\ //g ) #CustomerSeed link=$( plutil -p /System/Library/PrivateFrameworks/Seeding.framework/Resources/SeedCatalogs.plist | grep 'CustomerSeed' | sed -e s/'"CustomerSeed" => "'//g -e s/'.gz"'//g -e s/\ //g ) for file in $(curl -# $link | grep Info.plist | grep -Evw '(Info.plist.integrityDataV1|InstallInfo.plist)' | sed -e s/"<string>"//g -e s/"<\/string>"//g -e s/\ //g) do curl -# $file | egrep -EA 1 '(>Build<|OSVersion)' | sed -e s/"<string>"//g -e s/"<\/string>"//g -e s/\ //g | sed -e s/"<key>"//g -e s/"<\/key>"//g -e s/\ //g echo $file | sed -e "s/Info.plist/InstallAssistant.pkg/g" done -
b0gdanw created this gist
Jan 10, 2022 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #!/bin/zsh #Get Big Sur and Monterey InstallAssistant.pkg links from Apple #For macOS 11 (Big Sur) and 12 (Monterey), Apple provides the Install macOS ___.app packaged as InstallAssistant.pkg #The links for the InstallAssistant packages are listed in the seed catalogs #The seed catalogs are listed in /System/Library/PrivateFrameworks/Seeding.framework/Versions/A/Resources/SeedCatalogs.plist #The script gets the CustomerSeed seed catalog link from SeedCatalogs.plist, then gets the macOS versions available from the Info.plist and prints the links for the corresponding InstallAssistant.pkg link=$( plutil -p /System/Library/PrivateFrameworks/Seeding.framework/Resources/SeedCatalogs.plist | grep 'CustomerSeed' | sed -e s/'"CustomerSeed" => "'//g -e s/'.gz"'//g -e s/\ //g ) for file in $(curl -# $link | grep Info.plist | grep -Evw '(Info.plist.integrityDataV1|InstallInfo.plist)' | sed -e s/"<string>"//g -e s/"<\/string>"//g -e s/\ //g); do curl -# $file | egrep -EA 1 '(>Build<|OSVersion)' | sed -e s/"<string>"//g -e s/"<\/string>"//g -e s/\ //g | sed -e s/"<key>"//g -e s/"<\/key>"//g -e s/\ //g echo $file | sed -e "s/Info.plist/InstallAssistant.pkg/g" done