- Home /
Question by
$$anonymous$$ · Jan 17, 2012 at 11:12 PM ·
mac app store
2.30 Apps that do not comply with the Mac OS X File System documentation will be rejected
I'm trying to create a folder in the mac library folder, i'm using this code but isnt working, can someone help me?
if (!Directory.Exists("/Library/Application Support/<my bundle-id>/Resources/StreamingAssets/")){
Directory.CreateDirectory("/Library/Application Support/<my bundle-id>/Resources/StreamingAssets/");
create the file .....
}
Thanks!
Comment
Best Answer
Answer by Eric5h5 · Jan 17, 2012 at 11:19 PM
"/" is the root folder of the hard drive, not the user's home folder.
Your answer
Follow this Question
Related Questions
mac app can't connect to our server on apple's side 4 Answers
opening in Xcode 0 Answers
Building Mac App -1 Answers
packaging my .app 1 Answer
Mac App Store Sandboxing - getting some Sandbox: storeuid deny messages 1 Answer