Hello, beside some preference files I have 8GB of video data for my application to install. The videos can't be stored in a user folder, they have to be accessible for all users. Because I am really not a Mac user or even developer, so I didn't find the correct place for my videos on a Mac up to now. Up to OS X 10.6 I stored the videos in /library/preferences/MyCompany/Videos/ Then Apple restricted the user permission to this directory, so I stored the videos in /applications/MyCompany/Videos. This works up to now, though I know, that this isn't a good style and people told me not to do that, but nobody could point me a better place. Would "/Library/Application Support/MyCompany/MyAppBundleID/" also be the best place for 8GB of video data, though it aren't "prefence files" or where would you store this kind of data?
Any hints very welcome. Tiemo Hollmann > -----Ursprüngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag > von Igor de Oliveira Couto > Gesendet: Freitag, 7. Juni 2013 11:18 > An: How to use LiveCode > Betreff: Re: Where to write application data > > On 06/06/2013, at 12:40 PM, Devin Asay <devin_a...@byu.edu> wrote: > > > For desktop applications, where can our applications legally write to for > the three main OS's? I'm not talking about sandboxing for Mac App Store > apps, just the normal place for writing application files. > > Hello, Devin, > > Not very long ago, I had the same question, and several users contributed > their knowledge and experience in the different platforms, helping me > compile an answer: > > QUESTION: Where do folks put application-specific preferences on Mac, > Windows and Linux? > > The answer I compiled from all replies and pointers received was: > > 1) MacOS X Prefs Location: > specialFolderPath("Home") & "/Library/Application > Support/MyCompany/MyAppBundleID/" - - Apple requires you to use the > application's bundle id for the *folder name* > > 2) Windows Prefs Location: > specialFolderPath("0x001a") & "/MyApp/" > > 3) Linux Prefs Location: > there does not seem to be a 'standard', but several programs seem to take > the approach of creating a hidden folder in the user's home directory - > specialFolderPath("Home") & "/.myapp/" > > 4) iOS Prefs Location: > specialFolderPath("library") & "/MyAppBundleID/" - Apple requires you to > use the application's bundle id for the *folder name* > > 5) Android Prefs Location: > specialFolderPath("documents") > > The information above will help you find or create the appropriate > directory in which to save your *preferences* file. If you want to save > *documents*, or other support files, the location may vary. > > Lastly, in regards to the naming of the preferences file: it seems the > preferences file itself can be called pretty much anything you want, as > there do not seem to be any strict guidelines in any current platform. > > I hope this information helps! > > > -- > Igor Couto > Sydney, Australia > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode