{"action":"created","issue":{"url":"https://api.github.com/repos/cocos2d/cocos2d-console/issues/396","repository_url":"https://api.github.com/repos/cocos2d/cocos2d-console","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-console/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-console/issues/396/comments","events_url":"https://api.github.com/repos/cocos2d/cocos2d-console/issues/396/events","html_url":"https://github.com/cocos2d/cocos2d-console/issues/396","id":196246730,"number":396,"title":"`/Applications/Cocos/Cocos2d-x/` is hard coded for `gen-templates` command","user":{"login":"jonathantribouharet","id":188946,"avatar_url":"https://avatars.githubusercontent.com/u/188946?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathantribouharet","html_url":"https://github.com/jonathantribouharet","followers_url":"https://api.github.com/users/jonathantribouharet/followers","following_url":"https://api.github.com/users/jonathantribouharet/following{/other_user}","gists_url":"https://api.github.com/users/jonathantribouharet/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathantribouharet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathantribouharet/subscriptions","organizations_url":"https://api.github.com/users/jonathantribouharet/orgs","repos_url":"https://api.github.com/users/jonathantribouharet/repos","events_url":"https://api.github.com/users/jonathantribouharet/events{/privacy}","received_events_url":"https://api.github.com/users/jonathantribouharet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-17T22:37:18Z","updated_at":"2016-12-19T01:54:38Z","closed_at":"2016-12-19T01:31:58Z","body":"Hi,\r\nI work on MacOS, I have installed cocos2d in a custom folder, not with the installer but from the git.\r\nWhen I executed `cocos gen-templates` the templates files have `/Applications/Cocos/Cocos2d-x/` inside.\r\nSo when I generate a project with something like `cocos new ProjectName -p projectname.com.name -l cpp -t binary` my project doesn't work because the path for the files are not good.\r\n\r\nI use cocos2d-x-3.13.1 and Cocos Console 2.1, I don't know very well the project but I see there is an environment variable named `COCOS_X_ROOT` which may be very useful for this.\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/cocos2d/cocos2d-console/issues/comments/267865347","html_url":"https://github.com/cocos2d/cocos2d-console/issues/396#issuecomment-267865347","issue_url":"https://api.github.com/repos/cocos2d/cocos2d-console/issues/396","id":267865347,"user":{"login":"natural-law","id":488169,"avatar_url":"https://avatars.githubusercontent.com/u/488169?v=3","gravatar_id":"","url":"https://api.github.com/users/natural-law","html_url":"https://github.com/natural-law","followers_url":"https://api.github.com/users/natural-law/followers","following_url":"https://api.github.com/users/natural-law/following{/other_user}","gists_url":"https://api.github.com/users/natural-law/gists{/gist_id}","starred_url":"https://api.github.com/users/natural-law/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natural-law/subscriptions","organizations_url":"https://api.github.com/users/natural-law/orgs","repos_url":"https://api.github.com/users/natural-law/repos","events_url":"https://api.github.com/users/natural-law/events{/privacy}","received_events_url":"https://api.github.com/users/natural-law/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T01:54:38Z","updated_at":"2016-12-19T01:54:38Z","body":"Thanks for your feedback!"}}
{"actor":{"display_login":"natural-law"}}