Created
September 25, 2025 06:35
-
-
Save b0gdanw/b64ff798be9758560988cbcc995c2ef0 to your computer and use it in GitHub Desktop.
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/zsh | |
| # Get Tahoe 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 26 Tahoe the seed catalogs are: | |
| # CustomerSeed | |
| # https://swscan.apple.com/content/catalogs/others/index-26customerseed-26-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-26seed-26-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-26beta-26-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 (standard) | |
| # https://swscan.apple.com/content/catalogs/others/index-26-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-26-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 | |
| echo "macOS" | |
| curl -s $file| egrep -A 1 -m 2 '(OSVersion|>Build<)' | sed -e s/"<string>"//g -e s/"<\/string>"//g -e s/\ //g | sed -e s/"<key>"//g -e s/"<\/key>"//g -e s/\ //g | sed -e s/"[[:space:]]"//g | |
| echo "Link:" | |
| echo $file | sed -e "s/com_apple_MobileAsset_MacSoftwareUpdate.plist/InstallAssistant.pkg/g" | |
| echo "****" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment