- (NSDictionary *)resourceAttributesAtPath:(NSString *)path error:(NSError **)error {
if ([path isEqualToString:helloPath]) {
NSString *file = [[NSBundle mainBundle] pathForResource:@"hello" ofType:@"icns"];
return [NSDictionary dictionaryWithObject:[NSData dataWithContentsOfFile:file]
forKey:kGMUserFileSystemCustomIconDataKey];
}
return nil;
}