I want to export my file on HTML5 and then run it with node-webkit (Because there are two files and I don't want to have a double size for node-webkit runner) But when I want to run it I see the alert in the attachments. What shall I do now?
Develop games in your browser. Powerful, performant & highly capable.
You should be able to safely remove the alert dialog from the exported project (it's in index.html)
Noncentz705 Thanks it worked!
// Issue a warning if trying to preview an exported project on disk. (function(){ // Check for running exported on file protocol if (window.location.protocol.substr(0, 4) === "file") { alert("Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)"); } })(); [/code:17d277my] @Ashley, could you have it check for nw so we don't need to edit the exported html? @amir np