Created
January 14, 2015 14:13
-
-
Save vladkorotnev/dd253cd75e9d6d970c8d to your computer and use it in GitHub Desktop.
Annoyed by "A new version of iWork is available, please install our crap new OS then visit App Store to update?" Tell iWork to buzz off by this script.
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/bash | |
# Work Off! | |
# Disable annoying "Install a new update to iWork but first install our crap update to your OS" etc in iWork | |
# by akasaka, 2014 | |
echo QUIT IWORK BEFORE CONTINUING | |
echo QUIT IWORK BEFORE CONTINUING | |
echo QUIT IWORK BEFORE CONTINUING | |
echo QUIT IWORK BEFORE CONTINUING | |
echo QUIT IWORK BEFORE CONTINUING | |
echo QUIT IWORK BEFORE CONTINUING | |
echo QUIT IWORK BEFORE CONTINUING | |
echo QUIT IWORK BEFORE CONTINUING | |
read -p "Press [Enter] key when iWork is closed..." | |
echo Patching Pages... | |
plutil -remove TSURemoteDefaults.OSXUpdateInfo ~/Library/Containers/com.apple.iWork.Pages/Data/Library/Preferences/com.apple.iWork.Pages.plist | |
plutil -replace TSURemoteDefaultsNextUpdate -string "2099-01-01 01:01:01 +0000" ~/Library/Containers/com.apple.iWork.Pages/Data/Library/Preferences/com.apple.iWork.Pages.plist | |
echo Patching Keynote... | |
plutil -remove TSURemoteDefaults.OSXUpdateInfo ~/Library/Containers/com.apple.iWork.Keynote/Data/Library/Preferences/com.apple.iWork.Keynote.plist | |
plutil -replace TSURemoteDefaultsNextUpdate -string "2099-01-01 01:01:01 +0000" ~/Library/Containers/com.apple.iWork.Keynote/Data/Library/Preferences/com.apple.iWork.Keynote.plist | |
echo Patching Numbers... | |
plutil -remove TSURemoteDefaults.OSXUpdateInfo ~/Library/Containers/com.apple.iWork.Numbers/Data/Library/Preferences/com.apple.iWork.Numbers.plist | |
plutil -replace TSURemoteDefaultsNextUpdate -string "2099-01-01 01:01:01 +0000" ~/Library/Containers/com.apple.iWork.Numbers/Data/Library/Preferences/com.apple.iWork.Numbers.plist | |
echo Seems to be done! Hope it won’t break anything.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@samtheman324 Glad to help :) Spread the word and help stop forced updates :)