Mac OS X:我应该在哪里存储通用应用程序数据? [英] Mac OS X: Where should I store common application data?
问题描述
MacOS X上用于存储要由不同用户共享的应用程序数据的标准路径是什么?我不是在谈论临时数据,而是一个特定程序定期使用且不属于特定用户的数据.例如游戏高分表.
What's the standard path on MacOS X for storing application data that is to be shared by different users? I am not talking about temporary data, but data which is used by one particular program on a regular basis and belongs to no particular user. For example a game highscore table.
谢谢
阿德里安
推荐答案
我相信您在谈论的是支持文件-支持该应用程序但不需要运行的文件(例如,您的高分表).
I believe you're talking about Support files - a file that supports the application but is not required to run (your highscore table for example).
对于共享用户,这些文件应放在〜/Library/Application Support/YourApp或/Library/Application Support/YourApp中.
These files should be put in ~/Library/Application Support/YourApp or /Library/Application Support/YourApp for shared users.
这篇关于Mac OS X:我应该在哪里存储通用应用程序数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!