• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PackageMaker and custom folder icons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: PackageMaker and custom folder icons
      • From: Charles Srstka <email@hidden>
References: 
 >Re: PackageMaker and custom folder icons (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: about help
  • Next by Date: Re: NSPopUpButton is too smart for it's own good
  • Previous by thread: Re: PackageMaker and custom folder icons
  • Next by thread: Re: PackageMaker and custom folder icons
  • Index(es):
    • Date
    • Thread