2013. 4. 15. 03:02 카테고리 없음
탈옥 iPhone 바탕화면에 스크립트 아이콘 생성
출처 : http://www.hackint0sh.org/free-toolchain-software-126/springboard-icon-run-script-8111.htm
탈옥된 iDevice 에서 스크립트를 바탕화면(SpringBoard)에 아이콘으로 만들어 주기 위한 방법
Step 1 - Create new folder and <appname>.app
Step 2 - Right click and "Show package contents"
Step 3 - Add a 60x60 pixel icon with file name 'icon.png'
Step 4 - Add a 320x460 pixel background (user will see this while script executes) with the name 'Default.png'
Step 5 - Add an 'Info.plist', making sure to change the CFBundleExecutable string to the name of your shell script and the CFBundleIdentifier to a unique identifier. I've attached a sanitized version of my plist below
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>name_of_shell_script.sh</string>
<key>CFBundleIdentifier</key>
<string>com.unique.identifier</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>
Step 7 - Add the <appname>.app package to the Application folder on your iPhone and restart the springboard