[r180] Node-webkit can't copy a file

Bugs will be moved here once resolved.

Post » Thu Sep 18, 2014 2:39 am

Problem Description
Node webkit in exported files, it can't copy a file from root to destination folder

Attach a Capx
Attached in this post

Description of Capx
It basically copies an existent file to new folder

Steps to Reproduce Bug
  • Export to node-webkit
  • Run .exe, it automatically creates a folder and a copy file

Observed Result
There no copied package.nw in Copy folder

Expected Result
There a copy of package.nw in Copy folder

Affected Browsers
  • Node-webkit only

Operating System and Service Pack
Windows 8.1

Construct 2 Version ID
r180
You do not have the required permissions to view the files attached to this post.
B
97
S
35
G
29
Posts: 3,139
Reputation: 28,361

Post » Thu Sep 18, 2014 3:50 am

This is not a bug, you need to add the file name to where to you are copying to.

So nodewebkit.copy( nodewebkit.appfolder & "package.nw") to nodewebkit.appfolder & "copy\package.nw"
B
10
S
2
G
1
Posts: 92
Reputation: 926

Post » Thu Sep 18, 2014 4:33 am

@tomsstudio Ummm, I've spent like hour to figure out and no success, anyway thanks for noticing me to add file name in destination.


Close this thread and move to another sub-forum for future reference.
B
97
S
35
G
29
Posts: 3,139
Reputation: 28,361


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests