I would like to force an update of App Store applications from the command line.
How can I do this? Please provide working solution.
|
I would like to force an update of App Store applications from the command line. How can I do this? Please provide working solution. |
|||||||
|
|
There doesn't appear to be a command line helper or any scriptable cocoa classes you can latch on to for automation. Unlike the overall software update, you can only script the process of clicking buttons with a mouse. If someone is logged into the mac (windowmanager is running), you can use Automator and the "watch me do" function to automate updates and storing your store password in the script fairly insecurely. Here are two tutorials to get you started if this meets your needs. http://www.tuaw.com/2009/01/19/mac-automation-creating-watch-me-do-workflows/ http://automator.us/leopard/features/virtual-user.html Once you have a working script, you can use the command line If the App Store app ever exposes that function to scripting you will have more options from the command line. It would be easy to use |
|||||||||
|