Open ghost opened 11 years ago
May I ask which app it was that uses shell scripts to write files?
Also, there's code already written for files, but it still needs to be committed. See https://github.com/maccman/macgap/pull/25
As I've mentioned on a couple of other issues here, the Nodelike project (see https://github.com/node-app/Nodelike) provides a node.js-compatible API to web views. We've successfully combined Nodelike with MacGap, meaning javascript in MacGap can now have access to both the usual MacGap API as well as the node.js API.
See: https://github.com/node-app/macgap for a pre-combined package of MacGap plus Nodelike https://github.com/node-app/Nodelike/wiki/How-to-integrate-Nodelike-with-MacGap
This means you can now do all kinds of things with the filesystem. Check out node's FS commands — you now have access to all of them.
Is there any chance we can see the possibility of writing files any time soon? I've seen one app use a shell script to do the file writing part but feels rather complicated...