Nw.js not returning users folder

Bugs will be moved here once resolved.

Post » Mon Jun 20, 2016 10:04 pm

Problem Description
Expresion UserFolder from Nw.js is returning \\ instead of Users\katy.kaiser

Attach a Capx
https://drive.google.com/open?id=0B1Q_X ... VBJcG1lTG8

Description of Capx
I've attached both capx and the exported project in nw.js. In my pc it works allright, but I sent it to a web that sells desktop games and they told me that the game didn't load. After some debuging we've find that in his pc the expresion UserFolder from nw.js is returning \\ instead of his real route (Users\katy.kaiser).

She also has proved in one of his mate's pc and it also doesn't work.

I copy here the response they've given me:


Hi Sergei,



I got the same error when I tried the 32-bit and 64-bit windows version (using the Run as Administrator technique). It doesn’t locate the proper folder (first button populates “\\” only) and doesn’t actually create any folders in my Users\katy.kaiser\AppData folders.



The test version did function correctly on my Mac, however, so that’s good news!



Kind regards,

Katy



Steps to Reproduce Bug
    Just click the button above, it should return users default folder in the textbox next to it.

Observed Result
\\ is returned instead of the real user's folder

Expected Result
Fill the text with the user's folder

Affected Browsers
    Nw.js

Operating System and Service Pack

Operating System: Windows 7 Enterprise 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_ldr.160408-2045)

Construct 2 Version ID
227
Last edited by jugger87 on Tue Jun 21, 2016 7:01 pm, edited 1 time in total.
B
8
S
2
Posts: 42
Reputation: 649

Post » Tue Jun 21, 2016 10:36 am

Which versions of NW.js have you tested?
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,772

Post » Tue Jun 21, 2016 11:33 am

Actually I can't reproduce, the provided demo works fine for me. Also the .capx file uses third party plugins which is not allowed in bug reports - please read the bug report requirements - so closing.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,772


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests

cron