Created
June 11, 2025 09:29
-
-
Save b0gdanw/647daa06d672638448ff6db6b6f83346 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 | |
for file in $(curl -# https://swscan.apple.com/content/catalogs/others/index-16beta-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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment