Reputation:
Do I have to create the /Users/name/Library/Scripts/Applications/app folder myself? It doesn't seem to be created automatically. Or is there a command to create it?
Upvotes: 1
Views: 94
Reputation: 22930
Yes.
NSError *error;
[[NSFileManager defaultManager] createDirectoryAtPath:[@"~/Library/Scripts/Applications/app" stringByExpandingTildeInPath] withIntermediateDirectories:YES attributes:nil error:&error];
Upvotes: 1