Re: "First Run" installation of Application support stuff?
Re: "First Run" installation of Application support stuff?
- Subject: Re: "First Run" installation of Application support stuff?
- From: Sheehan Olver <email@hidden>
- Date: Thu, 19 Dec 2002 13:50:13 -0600
Couldn't you just copy the applet from your .app bundle to /tmp
whenever you run, and delete it when you quit? This way you don't need
to worry about permissions (/tmp is guaranteed everyone-readwrite,
correct?) Why do you need write access on an applet anyways?
On Thursday, December 19, 2002, at 10:29 AM,
email@hidden wrote:
- I use the /Library/Application Support/myApplication/ folder since I
need the applet accessible for all users. Were that not the case, any
~/Library subfolder would do, I think.
- I check if the applet is already there, check its size, if it's the
same I compare it bit-for-bit with the original which is somewhere
inside the app bundle. I store this in encrypted form so nobody can
tamper with it.
- Only if the applet is outdated or corrupted, or if the permissions
are not correct, I ask for the admin password and copy or fix
everything.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.