nw.js icon indicating copy to clipboard operation
nw.js copied to clipboard

Documentation incorrect about a lack of user-data-dir at 0.78.1

Open d3x0r opened this issue 2 years ago • 2 comments

Documentation Error

https://docs.nwjs.io/en/latest/References/Command%20Line%20Options/#-user-data-dir

" --user-data-dir Specify the data directory for your app, which contains the stored data, caches and crash dumps etc. By default the data directory is in following directories according to your platform:

Windows: %LOCALAPPDATA%/<name-in-manifest>/ Mac: ~/Library/Application Support/<name-in-manifest>/ Linux: ~/.config/<name-in-manifest> "

This folder is no longer created... probably after the https://nwjs.readthedocs.io/en/latest/References/Manifest%20Format/#single-instance deprecation, which is now always single instance, then the app data directory is no longer created based on the manifest name.

I only tested in windows.

https://github.com/nwjs/nw.js/issues/6328 is probably related, and no longer happens, since those aren't created when --user-data-dir is not specified (and probably wouldn't be located there with a --user-data-dir setting)

d3x0r avatar Aug 30 '23 14:08 d3x0r

It creates it for me. On Linux with nw version 0.79.1

bluthen avatar Aug 30 '23 17:08 bluthen

It creates it for me. On Linux with nw version 0.79.1

I can confirm that... so far it's only a windows issue.

d3x0r avatar Sep 08 '23 18:09 d3x0r