Last active
October 4, 2025 11:20
-
-
Save b0gdanw/44fd5bbe391b4e1db102b7c29ecc59e2 to your computer and use it in GitHub Desktop.
Revisions
-
b0gdanw renamed this gist
Sep 24, 2025 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
b0gdanw renamed this gist
Sep 22, 2025 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
b0gdanw revised this gist
Sep 22, 2025 . No changes.There are no files selected for viewing
-
b0gdanw created this gist
Dec 11, 2024 .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,20 @@ #!/bin/zsh # Get Sequoia InstallAssistant.pkg links from Apple # Since macOS 11 (Big Sur), 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 # For macOS 15 Sequoia the seed catalogs are: # CustomerSeed # https://swscan.apple.com/content/catalogs/others/index-15customerseed-15-14-13-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog # DeveloperSeed # https://swscan.apple.com/content/catalogs/others/index-15seed-15-14-13-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog # PublicSeed # https://swscan.apple.com/content/catalogs/others/index-15beta-15-14-13-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog # Public release # https://swscan.apple.com/content/catalogs/others/index-15-14-13-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog for file in $(curl -s https://swscan.apple.com/content/catalogs/others/index-15-14-13-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog | grep com_apple_MobileAsset_MacSoftwareUpdate.plist | grep -Evw '(com_apple_MobileAsset_MacSoftwareUpdate.plist.integrityDataV1)' | sed -e s/"<string>"//g -e s/"<\/string>"//g -e s/\ //g); do curl -s $file | egrep -A 1 -m 2 '(>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/com_apple_MobileAsset_MacSoftwareUpdate.plist/InstallAssistant.pkg/g" done