2 ms·
Sure, I wanted to allow the user to select a folder, and for the app to read all the sub-folders and files. Unfortunately, from my experiments, I can open a fil
by pedalpete 13y ago
Sure, I wanted to allow the user to select a folder, and for the app to read all the sub-folders and files. Unfortunately, from my experiments, I can open a file, but opening a folder using webkitdirectory hides the path to the folder, so I can't read the folder and it's sub-directories.
As I understand it, I could copy the files to the sandboxed filesystem API, but there are a few issues with working in an IDE environment which would break that usability, for example, grunt creating new files, etc. etc.
Please correct me if I'm wrong. Happy to take this question to SA if that is a better venue where people would more likely look for the answer as well, if you've got a better solution.
As I said, I'm keen to do this as a Chrome Packaged App, though there are a few things like Grunt that I'll want to be running within the app, so node-webkit isn't a bad solution for the prototype.