On Apr 30, 2010, at 8:23 AM, Theodore H. Smith wrote:

> So, I was fiddling around with RB's "Plugin Converter" (found in their plugin 
> SDK).
> 
> I had this problem where it was adding these annoying .DS_Store files to my 
> plugin. And then this confused RB, which copied a .DS_Store file to the... 
> compiled RB app, instead of to my ElfData plugin!
> 
> So, I added this little line at the top of the PushIntoVirtualVolume function.
> 
>       if item.name.left(1) = "." then return // ths -- ignore .DS_Store

I would recommend that you take that further and match the full ".DS_Store" 
name.  There may come a time when you want to put a hidden unix-y file into 
your package and simply matching "." would cause issues.

Otherwise, a very useful update since all you need to do in 10.6 is open a 
folder for the first time to have Finder create the .DS_Store file.

Tim


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to