Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with "scandir()" #47

Open
gvanem opened this issue Mar 15, 2024 · 0 comments
Open

Issue with "scandir()" #47

gvanem opened this issue Mar 15, 2024 · 0 comments

Comments

@gvanem
Copy link

gvanem commented Mar 15, 2024

I just discovered NW.JS and this sample-repo. Trying it on file-explorer:

f:\MinGW32\src\Languages\NWJS\Samples> ..\SDK\nw.exe file-explorer

and navigating to my Documents folder on my C:, showed this dialogue:

image

It should have been c:\Users\gvane\Documents. It exist with some files and sub-directories.
The above directory does not exist.

The directory value (c:\Users\gvane\Documents) is what
SHGetFolderPath (CSIDL_PERSONAL, SHGFP_TYPE_DEFAULT) returns here.
And it'sthe same as %USERPROFILE%\Documents.

I'm on Win-10. Version-stuff from nw.exe:

nw.js v0.85.0
Node v21.1.0
Chromium 122.0.6261.69
commit hash: 0782fe7-2f7cef5-14203a4-3b8c807
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant