Created
October 24, 2019 07:32
-
-
Save b0gdanw/3e35f6fe9de2cd87f9ac79cfcd189617 to your computer and use it in GitHub Desktop.
iTunes 12.9.5.5 on macOS Catalina 10.15
This file contains 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
set theAPP to choose file with prompt "Please select iTunes app:" of type {"app"} | |
do shell script "mkdir ~/tmp" | |
do shell script "ditto " & POSIX path of theAPP & " ~/tmp/iTunes.app" with administrator privileges | |
do shell script "plutil -replace CFBundleGetInfoString -string 'iTunes 13.9.5.5' ~/tmp/iTunes.app/Contents/Info.plist" with administrator privileges | |
do shell script "plutil -replace CFBundleShortVersionString -string 13.9.5 ~/tmp/iTunes.app/Contents/Info.plist" with administrator privileges | |
do shell script "plutil -replace CFBundleVersion -string 13.9.5 ~/tmp/iTunes.app/Contents/Info.plist" with administrator privileges | |
do shell script "plutil -replace CFBundleVersion -string 'iTunes 13.9.5.5' ~/tmp/iTunes.app/Contents/version.plist" with administrator privileges | |
do shell script "plutil -replace CFBundleShortVersionString -string 13.9.5 ~/tmp/iTunes.app/Contents/version.plist" with administrator privileges | |
do shell script "pkgbuild --component ~/tmp/iTunes.app --install-location /Applications ~/Desktop/iTunes13.9.5.5.pkg" | |
do shell script "rm -rf ~/tmp" with administrator privileges | |
display dialog "iTunes13.9.5.5.pkg was saved on Desktop" buttons {"Ok"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment