Re: PackageMaker and custom folder icons
Re: PackageMaker and custom folder icons
- Subject: Re: PackageMaker and custom folder icons
- From: Markus Hitter <email@hidden>
- Date: Tue, 12 Feb 2002 20:26:57 +0100
Am Dienstag den, 12. Februar 2002, um 19:15, schrieb Charles Srstka:
I know about this one because I had to figure out how to do
this the other way for Pacifist.
You can store the resource fork, all your metadata, etc. What
you need to do is to encode your file in AppleDouble format.
You get two files. One is the data file. Leave it with the
original file's name. The other one is the one containing all
the HFS-specific stuff. Give it the original file's name with
a '._' appended to the beginning of its name. So if the
original file is called 'somefile', you end up with two files,
one named 'somefile' which is the data fork, and the other one
named '._somefile' which contains the HFS stuff. Put them in
the same directory, and the installer aught to join them when
you put them together.
While this sounds very interesting, an easy way to get the file
encoded would be to create a UFS formatted disk image and to use
the Finder to copy the files there before pax'ing the archive.
This would preserve the Finder info for all other files as well
unless you delete the 84-byte sized ._files.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
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.