Packaging App properly

Archives Forums/MacOS X Discussion/Packaging App properly

TartanTangerine (was Indiepath)(Posted 2006) [#1]
I've been told this :

The game's data and other folders should be included within the app bundle itself; Mac users expect this sort of thing.

How do I include the folders within the package and most importantly how do I access them?


ragtag(Posted 2006) [#2]
App bundles on OSX are special kinds of folders. You can use Shell to acess them, and I'm sure there is some tools with xCode that can do so too. The Icon tool, let's you browse inside them and save icons there for instance.

Not sure how you would do it in BlitzMax code though, maybe just like any other folder path.

Just don't write to the data in the app bundle though. Save games and the like should be stored in the preferences for each user.

Ragnar


TartanTangerine (was Indiepath)(Posted 2006) [#3]
I got the save game stuff sorted it's accessing the folders within the app bundle I'm stuck with


TartanTangerine (was Indiepath)(Posted 2006) [#4]
I Figured it out.


SebHoll(Posted 2006) [#5]
I Figured it out.

How did you manage to do it?


jkrankie(Posted 2006) [#6]
I'd like to know that too, i tried to access files inside the app bundle before and had no success.

Cheers
Charlie


SebHoll(Posted 2006) [#7]
I've found this document on the Apple Developer website, but if Indiepath could post his findings as well that would be great.