Unable to use Node-Webkit's "Run file" action

Get help using Construct 2

Post » Sat Aug 17, 2013 4:55 pm

I've found out that the main problem was that the path of the file to execute with the "run file" action must NOT have any spaces in it. Otherwise it doesn't work.
I guess that's why it is not working in preview, beacuse of the space in "Program Files".
I've exported a project to the desktop in a folder with no spaces in its name, execute it, and the run file action works perfectly. And then move the same folder to Program Files, execute it, and run file stopped working.
B
7
S
1
Posts: 11
Reputation: 1,267

Post » Sat Aug 17, 2013 6:24 pm

You should wrap the whole thing in quotation marks then if there's a space in the path.

[code]"""" & NodeWebkit.AppFolder & "dxwebsetup.exe"""[/code]
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,620

Post » Sun Jul 13, 2014 6:35 pm

@ramones Damn! I was going to say that. :(
Sorry about the username, old account XD
B
14
S
4
Posts: 69
Reputation: 1,404

Post » Sun Jul 13, 2014 6:47 pm

Also, files that run in terminal won't start as I mentioned here: https://www.scirra.com/forum/viewtopic.php?f=147&t=93044
Sorry about the username, old account XD
B
14
S
4
Posts: 69
Reputation: 1,404

Post » Thu Jul 17, 2014 2:17 am

@digilogue-games didn't @Noncentz705 method help your problem?
B
96
S
34
G
29
Posts: 3,139
Reputation: 28,236

Previous

Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, ColombageEnPLS, rustomatic and 2 guests