Our NWjs game writes save files to Documents folder. When you install it with Steam and run for the first time on Mac, it displays a dialogue like this:
After that the game works fine, can read/write files from Documents folder.
However, if we release a new version and Steam updates the game, it looks like this permission gets removed. The game doesn't prompt again for access, but it can't read any files from the Documents folder and throws this error in console log:
Error: EPERM: operation not permitted, open '/Users/username/documents/GameName/Filename"
There are two ways to fix it - either uninstall/reinstall the game and confirm the permission again, or give full disk access to the game. Neither of which is a good solution.
Has anyone had this issue?
If this is a bug, who should we report it to - Scirra, Google (NWjs), or Steam?