Node Webkit "Run File" Flat Out Refuses to Work

Discussion and feedback on Construct 2

Post » Tue Aug 12, 2014 7:31 pm

So I have an external updater program I really need to be able to run. I use the "run file" command and whether I tell the Node Webkit plugin to run NodeWebkit.AppFolder & "Updater.exe" or just Updater.exe, it doesn't do anything.
B
45
S
13
G
1
Posts: 236
Reputation: 4,010

Post » Thu Sep 04, 2014 7:58 am

I am having the same problem, Have you managed to find out the solution to the problem.
B
3
Posts: 9
Reputation: 187

Post » Thu Sep 04, 2014 8:42 am

I figured it out: if the game exe is in a folder whose directory structure contains any spaces, it doesn't work. This is definitely a bug. I'll report it in the proper section since I have an example of it ready to go.
B
57
S
15
G
11
Posts: 912
Reputation: 12,606

Post » Thu Sep 04, 2014 8:45 am

Here is a silly example that just runs Notepad.

Uses latest 2 build r178.

If this works for you, and yours doesn't work, then post either a .capx or a picture of your events or no-one an help.
You do not have the required permissions to view the files attached to this post.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,391
Reputation: 58,464

Post » Thu Sep 04, 2014 8:46 am

GeometriX wrote:I figured it out: if the game exe is in a folder whose directory structure contains any spaces, it doesn't work. This is definitely a bug. I'll report it in the proper section since I have an example of it ready to go.


Not a bug, as manual states if spaces in filename, use double quotes.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,391
Reputation: 58,464

Post » Thu Sep 04, 2014 8:49 am

But this is the NodeWebkit.AppFolder expression, if you put it in quotes, it'll read it as plain text, not an expression.
B
57
S
15
G
11
Posts: 912
Reputation: 12,606

Post » Thu Sep 04, 2014 7:51 pm

Update with a fix: node-webkit-appfolder-bug_p825877 (read Ashley's response, follow it exactly).

Seems pretty odd to me, but hey, it works like this.
B
57
S
15
G
11
Posts: 912
Reputation: 12,606


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests