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:
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!
Steps to Reproduce Bug
\\ is returned instead of the real user's folder
Fill the text with the user's folder
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
Which versions of NW.js have you tested?
Develop games in your browser. Powerful, performant & highly capable.
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.