Hi, I built an Xwalk Windows application (with these instructions <https://crosswalk-project.org/documentation/windows/build_an_application.html>) that performs a file write to the Downloads folder. The actual code excerpt looks like the following in the index.html:
<script src="https://raw.githubusercontent.com/eligrey/FileSaver.js/master/FileSaver.js"></script> var blob = new Blob(["Hello, world!"], {type: "text/plain;charset=utf-8"}); saveAs(blob, "hello world.txt"); This works for browsers (Chrome, FireFox, and even IE), and would invoke the download manager. However, when I run it with xwalk.exe http://localhost:8000, downloading is not invoked. So here are my questions: 1. Is there a certain flag that I can turn on when executing xwalk.exe to enable crosswalk download manager? 2. Alternatively, does crosswalk have native filesystem libraries/interface on Windows that I can enable in the xwalk_permissions (just like in chrome apps) ? 3. Or, what is the proper way to write files to local storage on Windows with my web app? Your help will be greatly appreciated! Best, Derek
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
