Expresion UserFolder from Nw.js is returning \\ instead of Users\katy.kaiser
Attach a Capx
https://drive.google.com/file/d/0B1Q_XD ... 1lTG8/view
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
Just click the button above, it should return users default folder in the textbox next to it.
\\ 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