
http://store.apple.com/hk/browse/home/shop_iphone/family/iphone?mco=MTE2NTQ
This is my blog on the development of
iPhone & Android in ChromeOS, Mac, Windows & Linux.
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
killall Dock
#!/bin/sh
url=`curl -s -L "http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wa/viewSoftware?id={$1}&mt=8" | gunzip | grep '100x100-75.jpg' | cut -f22 -d"\""`
appname=`curl -s -L "http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wa/viewSoftware?id={$1}&mt=8" | gunzip | grep '100x100-75.jpg' | cut -f16 -d"\""`
if [ "$appname" = "0" ] ; then
appname=`curl -s -L "http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wa/viewSoftware?id={$1}&mt=8" | gunzip | grep '100x100-75.jpg' | cut -f18 -d"\""`
fi
echo ${appname}
url100=${url}
curl ${url100} > ${1}.jpg
url512=`echo ${url100} | perl -pe 's/100/512/g'`
curl ${url512} > ${1}_512.jpg
#!/bin/sh
curl -s -L http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wa/com.apple.jingle.appserver.client.MZITunesClientCheck/version?touchUpdate=true | gunzip | grep appldnld | grep "iP*.*Restore" | awk '{print $1;}' | uniq
<array>
<string>CopyPath</string>
<string>YourProg.app/</string>
<string>/Applications/YourProg.app</string>
</array>
<array>
<string>RemovePath</string>
<string>/Applications/YourProg.app</string>
<string>/var/mobile/Library/Preferences/com.yourcompany.YourProg.plist</string>
</array>
<array>
<string>Confirm</string>
<string>Changing Permission. Do you wish to continue?</string>
<string>Yes</string>
<string>No</string>
</array>
<array>
<string>SetStatus</string>
<string>Changing Permissions</string>
</array>
<array>
<string>Exec</string>
<string>/bin/chmod -R 755 /var/mobile/Media/MyProgData</string>
</array>
<array>
<string>Exec</string>
<string>/usr/bin/chown -R mobile /var/mobile/Media/MyProgData/.</string>
</array>
<array>
<string>Notice</string>
<string>Installation Completed. Please restart iPhone.</string>
</array>
<array>
<string>IfNot</string>
<array>
<array>
<string>InstalledPackage</string>
<string>com.anothercompany.anotherprog</string>
</array>
</array>
<array>
<array>
<string>AbortOperation</string>
<string>You must install another package first.</string>
</array>
</array>
</array>