ErikH2000 wrote:
But they would be in different directories. So as I'm proposing, the full version executable would go here (along with completely separate and redundant set of installation files):
~/.caravel/drod-2_0/DROD.app
..and the demo version executable would go here...
~/.caravel/drod-2_0-demo/DROD.app
On my machine, ~/.caravel/drod-2_0 contains DataPath.txt, data.dat, drod.err, drod.ini, drod2_0.dat, player.dat, and text.dat. These are the data files that are specific to me. There is another file called DROD.app (it's actually an application bundle containing multiple files, but most people won't see it that way, so it's easiest to think about it as a single file). This would correspond to an EXE file on Windows or an binary that has been chmoded 755 on Linux. I put DROD.app in the system-wide Applications folder on my OS X machine.
When I launched DROD.app, it created ~/.caravel/drod-2_0 and put the files needed to keep track of holds I downloaded, my progress through holds, etc. in ~/.caravel/drod-2_0. DROD.app did not get copied into ~/.caravel/drod-2_0, still exists in Applications, and contains things like libraries that DROD needs that you don't want to copy into everyone's home directory.
Also, if DROD.app were copied into ~/.caravel/drod-2_0, people wouldn't (easily) be able to run it, since directories starting with "
."
don't (normally) show up in Finder windows.
I think you need to make the change you proposed earlier (make Demo DROD create player data files in ~/.caravel/drod-2_0-demo) and, in addition, make the file packaged in the DMG be named "
DROD Demo.app"
. That way, both .app programs can live in the same folder (so people can have both executables at the same time and have both in the same place) and these two executables won't be looking for data files in the same place (removing the need for people to type "
rm -rf"
).
[Last edited by jcobleigh at 01-10-2006 10:13 PM]