antipole2/JavaScript_pi

readTextFile/writeTextFile does not work for some file locations

Opened this issue · 1 comments

In plugin v2
readTextFile() where is an absolute file string fails to read the file.
Relative files are OK

This seems like a permissions issue.

On MacOS a program may not read a file written by some other program if it is in iCloud space. This is a security restriction. You can override this by giving OpenCPN permission to access Documents or other folders in iCloud. But there is then nothing to stop you writing over any of your files. At your own risk.