On Dec 18, 2003, at 12:01 PM, [EMAIL PROTECTED] wrote:


Message: 2
Date: Thu, 18 Dec 2003 08:20:31 -0800
From: Bill Kendrick <[EMAIL PROTECTED]>
To: Tux Paint <[EMAIL PROTECTED]>
Subject: Re: [Tuxpaint-dev] Mac OS X tweaks
Reply-To: [EMAIL PROTECTED]

On Thu, Dec 18, 2003 at 07:55:59AM -0800, Bill Kendrick wrote:

Then it says, "hey, helperfunction, where can I find the _user's_ set of
brushes, if they have any?" That's the "get_fname()" function.
(Note: I just added some /* clarification commentary */ to it, and stuck it
in CVS.)


So in the case of Linux, that becomes:

~/.tuxpaint/brushes


I tried moving all stamps where Tux Paint can't find it, and then running
from the Terminal. ( cd ~/Desktop/Tux\ Paint.app/Contents
followed by: ./MacOS/Tux\ Paint or somesuch)



And I discovered Tux Paint first looks for stamps in a "Resources" folder
inside the Tux Paint icon itself!



Yeppers, that's the way well-behaved apps do things, as it gives the useful illusion that applications are just like any other file, which can be renamed, moved, copied, deleted, whatever. Take a look at Omni's apps, they all install with drag-and-drop, even Microsoft did this with Office X, though they did use a folder since they have multiple applications to deal with - but all shared libraries, documentation, resources, images etc are self-contained rather than sprinkled throughout the system. In a networked environment, the assumption is that the entire application binary, shared libs, etc are stored on the network share in this self-contained format for all to access painlessly.


For a network/classroom setting, it seems that it would be best to copy the stamps into the Resources/ directory and serve up TuxPaint.app on a network share.



Not know the true "Apple OS X Way" of doing things, am I totally off in
suggesting that 'Tux Paint Stamps Installer' put the stamps here?
Or would it make more sense in "/Library/Preferences/tuxpaint" and
change DATA_PREFIX to point there, kind of like how I suggested (or tried to)
in my last post? :)



We *could* install the stamps there, as an option I suppose. It would be much easier just to supply an additional download that had the binary + stamps as it wouldn't be that much larger than just the stamps themselves, and of course would be ready to run after extracting the downloaded file.


_______________________________________________
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev

Reply via email to