Hmm, so you're trying to find the user's user folder path?
That's tricky. Is there any particular reason you need to use the user folder?
Personally, I would just try to use C drive, and if that failed (incorrect path) then use the current folder. As far as I can tell NWjs isn't capable of finding the Windows drive letter.