[0.13.4-sdk] App.dataPath returns a path with a directory named default at the end
See original GitHub issueOS: Mac OS X (El captain) nw.js version: 0.13.4-sdk
App.dataPath is returning ~/Library/Application Support/<name>/Default
while the docs say it should return ~/Library/Application Support/<name>
The name of the package from package.json is devlog
.
There is a directory named Default in that location and has files related to preferences, cookies etc.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
where to put nw.js temp data -- `nw.App.dataPath + '/Cache'`?
App.dataPath returns the path in the user's profile folder, including the Default profile (from Chromium's point of view) folder.
Read more >Application.dataPath is not working in build - Unity Answers
In the Editor, it returns the path for the Assets folder In a built executable it returns the path to the built project's...
Read more >INFO: Ability to specify location path for data file with E ...
Click OK to close and save. The image below shows an example of the E-DataPath environment variables set in a Desktop folder named...
Read more >Scripting API: Application.dataPath - Unity - Manual
Contains the path to the game data folder on the target device (Read Only). The value depends on which platform you are running...
Read more >System Functions - Alpha Anywhere Documentation
GET_PATH () Returns the path of the currently open .ADB database file. It is a useful function when you want to make an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
why is this changed indeed? We have User Data/Default at the end, like:
on Windows 10
C:\Users[username]\AppData\Local[app name]\User Data\Default
while it use to be:
C:\Users[username]\AppData\Local[app name]\
Now we have to run some manual migration …
Same thing here on Ubuntu 15.04 x64 with nw.js 0.13.4-sdk.