I've found out a problem with Node-Webkit's "Run file" action. The problem is that the path of the file to execute with the "run file" action must NOT have any spaces on it. Otherwise it doesn't work.
I guess that's why it is not working in preview, using Node-Webkit as preview browser (at least for me), beacuse of the blank space in "Program Files" that is part of the AppFolder path.
Link to .capx file:
dl.dropboxusercontent.com/u/14522925/C2%20examples/NWRunFile.capx
(this capx was made by GeometriX)
Steps to reproduce:
If you export this project, or any other using "run file", to the Desktop in a folder with NO spaces in its name and execute it, the run file action works perfectly (There is no spaces in the hole appfolder path). Then move the same folder (or export it again) to Program Files for example, execute it, and run file stopped working (because of the sapces in the Appfolder path), at least for me.
We've been discussing this bug here too: scirra.com/forum/topic73313.html
Browsers affected:
Chrome: no
Firefox: no
Internet Explorer: no
Node-Webkit: yes
Operating system & service pack:
I've experience this in two different pcs, one with Windows 7 Home Premium SP1 64b, and the other one with Windows 8 Pro 64b.
Construct 2 version:
I've tested in R139, R140 and R141.