|
|||||||||
|
|||||||||
|
|||
|
Ok, I used the Info.plist below to add an icon to my springboard an execute a bash script. The only thing i can get to display is the Default.png while the script executes.
Is it possible to display the output of the script while it runs? I found this on this forum somewhere: 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> |
|
|||
|
In principle, a scripts doesn't get displayed because it's not a UIKit application (it doesn't have a user interface). There are UIKit apps that can display the output of a script, notably MobileTerminal. If you aren't already using that, you could install it and in its settings (tap the clock once), at Terminal 1, put as "Arguments" the path to your script as a starting command.
An alternative is to send the output of the script to a file you can look at afterwards.
__________________
iPhone 3GS / 3.1.2 JB (PwnageTool) / 04.26.08 carrier-locked, Carrier Logo Fixer / Cydia / 1000 posts on Hackint0sh Installing Cydia programs on a phone that has no internet connection: read this. Editing binary .plist, .strings, .nib and .xib files: * on your computer: Windows tool / conversion website. * on your iPhone: convert those files in a terminal with plutil (installed with Erica Utilities) or edit them with iFile (Cydia links). |
|
|||
|
Thanks for the info. I do havemobile terminal and I decided to just add a gesture shortcut for the script.. one extra button to push, but it's a lot better seeing that the script actually ran correctly.
Spit |
| Sponsored links Remove advertisements | |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running a shell script from Ipod Touch App | rocomotion | iPhone Developer Exchange | 2 | 08-21-2009 06:17 AM |
| [Request] Blank SpringBoard | vandy1997 | Free Toolchain Software | 3 | 04-29-2008 06:08 AM |
| Perl error running IMAPfilter.pl script | Gerard | Free Toolchain Software | 1 | 09-16-2007 02:02 AM |
| Local IMAP Server + Fetchmail + Script = Push Email? | -cj- | Free Toolchain Software | 0 | 09-01-2007 08:51 AM |
| AppleTV running OSX questions | dan.scott1234 | AppleTV | 5 | 08-02-2007 06:15 AM |
|
|