On Wed, Dec 10, 2008 at 2:08 AM, iDeveloper <[EMAIL PROTECTED]> wrote: > > Hi > > I'm trying to add a custom icon for my fs by specifying the volicon > option > [options addObject: [NSString stringWithFormat:@"volicon=%@", > [[NSBundle mainBundle] pathForResource:@"myfs" ofType:@"icns"]]]; > > But my fs always shows the default folder icon. Any reason why this > would happen? I have added an option "local" to make the fs appear in > the Finder side bar and on the desktop. Could that be a reason?
Did it used to work without the "local" option? Are you sure that your volume icon is being copied by xcode into the final application bundle? If you are stuck, I suggest you start over using one of the new project templates that are found in MacFUSE 2.0. Install 2.0 and then File -> New Project in Xcode. The "Objective-C File System (Read-Write)" or the read-only version set you up with an application-style file system that has a volume icon. You just need to copy your .icns file over the icon generated by the project template and you are all set. ted > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MacFUSE" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/macfuse?hl=en -~----------~----~----~----~------~----~------~--~---
