{"action":"created","issue":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/4696","repository_url":"https://api.github.com/repos/nwjs/nw.js","labels_url":"https://api.github.com/repos/nwjs/nw.js/issues/4696/labels{/name}","comments_url":"https://api.github.com/repos/nwjs/nw.js/issues/4696/comments","events_url":"https://api.github.com/repos/nwjs/nw.js/issues/4696/events","html_url":"https://github.com/nwjs/nw.js/issues/4696","id":147099697,"number":4696,"title":"[0.13.4-sdk] App.dataPath returns a path with a directory named default at the end","user":{"login":"Dineshs91","id":2663505,"avatar_url":"https://avatars.githubusercontent.com/u/2663505?v=3","gravatar_id":"","url":"https://api.github.com/users/Dineshs91","html_url":"https://github.com/Dineshs91","followers_url":"https://api.github.com/users/Dineshs91/followers","following_url":"https://api.github.com/users/Dineshs91/following{/other_user}","gists_url":"https://api.github.com/users/Dineshs91/gists{/gist_id}","starred_url":"https://api.github.com/users/Dineshs91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dineshs91/subscriptions","organizations_url":"https://api.github.com/users/Dineshs91/orgs","repos_url":"https://api.github.com/users/Dineshs91/repos","events_url":"https://api.github.com/users/Dineshs91/events{/privacy}","received_events_url":"https://api.github.com/users/Dineshs91/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nwjs/nw.js/labels/nw13","name":"nw13","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-09T06:53:49Z","updated_at":"2016-05-01T10:25:17Z","closed_at":null,"body":"OS: Mac OS X (El captain)\r\nnw.js version: 0.13.4-sdk\r\n\r\nApp.dataPath is returning ```~/Library/Application Support/<name>/Default``` while the docs say it should return ```~/Library/Application Support/<name>```\r\n\r\nThe name of the package from package.json is ```devlog```.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2663505/14402253/5c5c9eac-fe4d-11e5-998e-358974c860c5.png)\r\n\r\nThere is a directory named Default in that location and has files related to preferences, cookies etc."},"comment":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/comments/216033121","html_url":"https://github.com/nwjs/nw.js/issues/4696#issuecomment-216033121","issue_url":"https://api.github.com/repos/nwjs/nw.js/issues/4696","id":216033121,"user":{"login":"RohitSharma27","id":18210507,"avatar_url":"https://avatars.githubusercontent.com/u/18210507?v=3","gravatar_id":"","url":"https://api.github.com/users/RohitSharma27","html_url":"https://github.com/RohitSharma27","followers_url":"https://api.github.com/users/RohitSharma27/followers","following_url":"https://api.github.com/users/RohitSharma27/following{/other_user}","gists_url":"https://api.github.com/users/RohitSharma27/gists{/gist_id}","starred_url":"https://api.github.com/users/RohitSharma27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RohitSharma27/subscriptions","organizations_url":"https://api.github.com/users/RohitSharma27/orgs","repos_url":"https://api.github.com/users/RohitSharma27/repos","events_url":"https://api.github.com/users/RohitSharma27/events{/privacy}","received_events_url":"https://api.github.com/users/RohitSharma27/received_events","type":"User","site_admin":false},"created_at":"2016-05-01T10:25:16Z","updated_at":"2016-05-01T10:25:16Z","body":"same behavior in nw0.14.2-sdk. I have noticed one more thing on Mac. In nw0.12.3 folders like 'Local Storage', 'GPU Cache' were created in 'library/Application Support/<app name>/' but, from nw0.13  onwards they are getting created in 'library/Application Support/<app name>/Default/'.\r\nSo this may be the reason of why App.dataPath is returning the new path. It's just an observation. I haven't thoroughly looked into it."}}