Re: Updating within a prebuilt Bundle app?
Re: Updating within a prebuilt Bundle app?
- Subject: Re: Updating within a prebuilt Bundle app?
- From: Mark Grob <email@hidden>
- Date: Fri, 7 May 2004 09:04:54 -0400
Left me clarify:
It's related to a game I built and I have the code... Not doing
anything illegal. What I need to do is replace the executable in the
myApp.app/Context/MacOS/ and the replace the files that have been
updated since the original release. The Bundle App is about 100 megs,
and I do not want the user to have to download the entire bundled
app... I would prefer to have them download the 11 megs in update files
and click on an updater executable to replace the new files.
-Mark Grob
www.vrshell.com
On May 7, 2004, at 12:52 AM, Chris Espinosa wrote:
First, I assume you mean myapp.app/Contents/Resources/n.jpg (context,
with a dot or not, is not a standard bundle directory, and because some
file systems are case-sensitive Contents and Resources must be
capitalized)
The first answer is that no, you can't do what you ask, because the app
will break. The application is coded to look for 1.jpg. It will never
look for 2.jpg unless you have the source to the app and recompile it,
or edit its nib file with Interface Builder.
But if you want to replace the data in 1.jpg with different data, to
make the app show a different picture, that's extremely
straightforward:
1) In the Finder, command-click on the app and choose Show Package
Contents
2) Navigate to the Resources folder
3) Drag 1.jpg to the trash
4) Drag 2.jpg into the Resources folder
5) Rename 2.jpg to be 1.jpg
Similarly, if you gave 2.jpg on your desktop and you want to use the
command line, just
mv ~/Desktop/2.jpg myapp.app/Contents/Resources/1.jpg
will do it, given that you have sufficient permissions.
Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.