{"action":"created","comment":{"url":"https://api.github.com/repos/zaggino/brackets-electron/pulls/comments/29712696","id":29712696,"diff_hunk":"@@ -8,10 +8,16 @@ var app = require(\"app\");\n var fs = require(\"fs-extra\");\n var path = require(\"path\");\n var utils = require(\"./utils\");\n+var process = require(\"process\");","path":"app/shell-config.js","position":4,"original_position":4,"commit_id":"55fe3356bf6d9826baa5311ff7a0cab83096bd37","original_commit_id":"55fe3356bf6d9826baa5311ff7a0cab83096bd37","user":{"login":"zaggino","id":1067319,"avatar_url":"https://avatars.githubusercontent.com/u/1067319?v=3","gravatar_id":"","url":"https://api.github.com/users/zaggino","html_url":"https://github.com/zaggino","followers_url":"https://api.github.com/users/zaggino/followers","following_url":"https://api.github.com/users/zaggino/following{/other_user}","gists_url":"https://api.github.com/users/zaggino/gists{/gist_id}","starred_url":"https://api.github.com/users/zaggino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaggino/subscriptions","organizations_url":"https://api.github.com/users/zaggino/orgs","repos_url":"https://api.github.com/users/zaggino/repos","events_url":"https://api.github.com/users/zaggino/events{/privacy}","received_events_url":"https://api.github.com/users/zaggino/received_events","type":"User","site_admin":false},"body":"process is a global, always available, no need to require it","created_at":"2015-05-05T21:03:07Z","updated_at":"2015-05-05T21:03:07Z","html_url":"https://github.com/zaggino/brackets-electron/pull/14#discussion_r29712696","pull_request_url":"https://api.github.com/repos/zaggino/brackets-electron/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/zaggino/brackets-electron/pulls/comments/29712696"},"html":{"href":"https://github.com/zaggino/brackets-electron/pull/14#discussion_r29712696"},"pull_request":{"href":"https://api.github.com/repos/zaggino/brackets-electron/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/zaggino/brackets-electron/pulls/14","id":34763292,"html_url":"https://github.com/zaggino/brackets-electron/pull/14","diff_url":"https://github.com/zaggino/brackets-electron/pull/14.diff","patch_url":"https://github.com/zaggino/brackets-electron/pull/14.patch","issue_url":"https://api.github.com/repos/zaggino/brackets-electron/issues/14","number":14,"state":"open","locked":false,"title":"set the temp folder so extensions install/update properly","user":{"login":"mackenza","id":2412637,"avatar_url":"https://avatars.githubusercontent.com/u/2412637?v=3","gravatar_id":"","url":"https://api.github.com/users/mackenza","html_url":"https://github.com/mackenza","followers_url":"https://api.github.com/users/mackenza/followers","following_url":"https://api.github.com/users/mackenza/following{/other_user}","gists_url":"https://api.github.com/users/mackenza/gists{/gist_id}","starred_url":"https://api.github.com/users/mackenza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mackenza/subscriptions","organizations_url":"https://api.github.com/users/mackenza/orgs","repos_url":"https://api.github.com/users/mackenza/repos","events_url":"https://api.github.com/users/mackenza/events{/privacy}","received_events_url":"https://api.github.com/users/mackenza/received_events","type":"User","site_admin":false},"body":"Installing extensions on Linux was resulting in an error where the temp path to the downloaded file was being appended to the pwd.. like `/home/mackenza/projects/brackets-electron/tmp/...`\r\n\r\nI pulled this code from https://github.com/adobe/brackets-shell/blob/master/appshell/node-core/Launcher.js\r\n\r\nI am not sure if this code belongs in `shell-config.js` but it seems like a decent place. Feel free to move it if you feel otherwise.","created_at":"2015-05-05T20:26:14Z","updated_at":"2015-05-05T21:03:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40598f154ad9df7a3d7b8de099ba2f8756f9e412","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zaggino/brackets-electron/pulls/14/commits","review_comments_url":"https://api.github.com/repos/zaggino/brackets-electron/pulls/14/comments","review_comment_url":"https://api.github.com/repos/zaggino/brackets-electron/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zaggino/brackets-electron/issues/14/comments","statuses_url":"https://api.github.com/repos/zaggino/brackets-electron/statuses/55fe3356bf6d9826baa5311ff7a0cab83096bd37","head":{"label":"zaggino:mackenza/extensions-linux","ref":"mackenza/extensions-linux","sha":"55fe3356bf6d9826baa5311ff7a0cab83096bd37","user":{"login":"zaggino","id":1067319,"avatar_url":"https://avatars.githubusercontent.com/u/1067319?v=3","gravatar_id":"","url":"https://api.github.com/users/zaggino","html_url":"https://github.com/zaggino","followers_url":"https://api.github.com/users/zaggino/followers","following_url":"https://api.github.com/users/zaggino/following{/other_user}","gists_url":"https://api.github.com/users/zaggino/gists{/gist_id}","starred_url":"https://api.github.com/users/zaggino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaggino/subscriptions","organizations_url":"https://api.github.com/users/zaggino/orgs","repos_url":"https://api.github.com/users/zaggino/repos","events_url":"https://api.github.com/users/zaggino/events{/privacy}","received_events_url":"https://api.github.com/users/zaggino/received_events","type":"User","site_admin":false},"repo":{"id":34965552,"name":"brackets-electron","full_name":"zaggino/brackets-electron","owner":{"login":"zaggino","id":1067319,"avatar_url":"https://avatars.githubusercontent.com/u/1067319?v=3","gravatar_id":"","url":"https://api.github.com/users/zaggino","html_url":"https://github.com/zaggino","followers_url":"https://api.github.com/users/zaggino/followers","following_url":"https://api.github.com/users/zaggino/following{/other_user}","gists_url":"https://api.github.com/users/zaggino/gists{/gist_id}","starred_url":"https://api.github.com/users/zaggino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaggino/subscriptions","organizations_url":"https://api.github.com/users/zaggino/orgs","repos_url":"https://api.github.com/users/zaggino/repos","events_url":"https://api.github.com/users/zaggino/events{/privacy}","received_events_url":"https://api.github.com/users/zaggino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zaggino/brackets-electron","description":"An open source code editor for the web, written in JavaScript, HTML and CSS.","fork":true,"url":"https://api.github.com/repos/zaggino/brackets-electron","forks_url":"https://api.github.com/repos/zaggino/brackets-electron/forks","keys_url":"https://api.github.com/repos/zaggino/brackets-electron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zaggino/brackets-electron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zaggino/brackets-electron/teams","hooks_url":"https://api.github.com/repos/zaggino/brackets-electron/hooks","issue_events_url":"https://api.github.com/repos/zaggino/brackets-electron/issues/events{/number}","events_url":"https://api.github.com/repos/zaggino/brackets-electron/events","assignees_url":"https://api.github.com/repos/zaggino/brackets-electron/assignees{/user}","branches_url":"https://api.github.com/repos/zaggino/brackets-electron/branches{/branch}","tags_url":"https://api.github.com/repos/zaggino/brackets-electron/tags","blobs_url":"https://api.github.com/repos/zaggino/brackets-electron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zaggino/brackets-electron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zaggino/brackets-electron/git/refs{/sha}","trees_url":"https://api.github.com/repos/zaggino/brackets-electron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zaggino/brackets-electron/statuses/{sha}","languages_url":"https://api.github.com/repos/zaggino/brackets-electron/languages","stargazers_url":"https://api.github.com/repos/zaggino/brackets-electron/stargazers","contributors_url":"https://api.github.com/repos/zaggino/brackets-electron/contributors","subscribers_url":"https://api.github.com/repos/zaggino/brackets-electron/subscribers","subscription_url":"https://api.github.com/repos/zaggino/brackets-electron/subscription","commits_url":"https://api.github.com/repos/zaggino/brackets-electron/commits{/sha}","git_commits_url":"https://api.github.com/repos/zaggino/brackets-electron/git/commits{/sha}","comments_url":"https://api.github.com/repos/zaggino/brackets-electron/comments{/number}","issue_comment_url":"https://api.github.com/repos/zaggino/brackets-electron/issues/comments{/number}","contents_url":"https://api.github.com/repos/zaggino/brackets-electron/contents/{+path}","compare_url":"https://api.github.com/repos/zaggino/brackets-electron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zaggino/brackets-electron/merges","archive_url":"https://api.github.com/repos/zaggino/brackets-electron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zaggino/brackets-electron/downloads","issues_url":"https://api.github.com/repos/zaggino/brackets-electron/issues{/number}","pulls_url":"https://api.github.com/repos/zaggino/brackets-electron/pulls{/number}","milestones_url":"https://api.github.com/repos/zaggino/brackets-electron/milestones{/number}","notifications_url":"https://api.github.com/repos/zaggino/brackets-electron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zaggino/brackets-electron/labels{/name}","releases_url":"https://api.github.com/repos/zaggino/brackets-electron/releases{/id}","created_at":"2015-05-02T22:32:51Z","updated_at":"2015-05-05T19:12:04Z","pushed_at":"2015-05-05T20:26:15Z","git_url":"git://github.com/zaggino/brackets-electron.git","ssh_url":"git@github.com:zaggino/brackets-electron.git","clone_url":"https://github.com/zaggino/brackets-electron.git","svn_url":"https://github.com/zaggino/brackets-electron","homepage":"http://brackets.io","size":73263,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":6,"default_branch":"master"}},"base":{"label":"zaggino:master","ref":"master","sha":"e88ff47d3dbec3893b5320cb3c6ea835f6907646","user":{"login":"zaggino","id":1067319,"avatar_url":"https://avatars.githubusercontent.com/u/1067319?v=3","gravatar_id":"","url":"https://api.github.com/users/zaggino","html_url":"https://github.com/zaggino","followers_url":"https://api.github.com/users/zaggino/followers","following_url":"https://api.github.com/users/zaggino/following{/other_user}","gists_url":"https://api.github.com/users/zaggino/gists{/gist_id}","starred_url":"https://api.github.com/users/zaggino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaggino/subscriptions","organizations_url":"https://api.github.com/users/zaggino/orgs","repos_url":"https://api.github.com/users/zaggino/repos","events_url":"https://api.github.com/users/zaggino/events{/privacy}","received_events_url":"https://api.github.com/users/zaggino/received_events","type":"User","site_admin":false},"repo":{"id":34965552,"name":"brackets-electron","full_name":"zaggino/brackets-electron","owner":{"login":"zaggino","id":1067319,"avatar_url":"https://avatars.githubusercontent.com/u/1067319?v=3","gravatar_id":"","url":"https://api.github.com/users/zaggino","html_url":"https://github.com/zaggino","followers_url":"https://api.github.com/users/zaggino/followers","following_url":"https://api.github.com/users/zaggino/following{/other_user}","gists_url":"https://api.github.com/users/zaggino/gists{/gist_id}","starred_url":"https://api.github.com/users/zaggino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaggino/subscriptions","organizations_url":"https://api.github.com/users/zaggino/orgs","repos_url":"https://api.github.com/users/zaggino/repos","events_url":"https://api.github.com/users/zaggino/events{/privacy}","received_events_url":"https://api.github.com/users/zaggino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zaggino/brackets-electron","description":"An open source code editor for the web, written in JavaScript, HTML and CSS.","fork":true,"url":"https://api.github.com/repos/zaggino/brackets-electron","forks_url":"https://api.github.com/repos/zaggino/brackets-electron/forks","keys_url":"https://api.github.com/repos/zaggino/brackets-electron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zaggino/brackets-electron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zaggino/brackets-electron/teams","hooks_url":"https://api.github.com/repos/zaggino/brackets-electron/hooks","issue_events_url":"https://api.github.com/repos/zaggino/brackets-electron/issues/events{/number}","events_url":"https://api.github.com/repos/zaggino/brackets-electron/events","assignees_url":"https://api.github.com/repos/zaggino/brackets-electron/assignees{/user}","branches_url":"https://api.github.com/repos/zaggino/brackets-electron/branches{/branch}","tags_url":"https://api.github.com/repos/zaggino/brackets-electron/tags","blobs_url":"https://api.github.com/repos/zaggino/brackets-electron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zaggino/brackets-electron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zaggino/brackets-electron/git/refs{/sha}","trees_url":"https://api.github.com/repos/zaggino/brackets-electron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zaggino/brackets-electron/statuses/{sha}","languages_url":"https://api.github.com/repos/zaggino/brackets-electron/languages","stargazers_url":"https://api.github.com/repos/zaggino/brackets-electron/stargazers","contributors_url":"https://api.github.com/repos/zaggino/brackets-electron/contributors","subscribers_url":"https://api.github.com/repos/zaggino/brackets-electron/subscribers","subscription_url":"https://api.github.com/repos/zaggino/brackets-electron/subscription","commits_url":"https://api.github.com/repos/zaggino/brackets-electron/commits{/sha}","git_commits_url":"https://api.github.com/repos/zaggino/brackets-electron/git/commits{/sha}","comments_url":"https://api.github.com/repos/zaggino/brackets-electron/comments{/number}","issue_comment_url":"https://api.github.com/repos/zaggino/brackets-electron/issues/comments{/number}","contents_url":"https://api.github.com/repos/zaggino/brackets-electron/contents/{+path}","compare_url":"https://api.github.com/repos/zaggino/brackets-electron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zaggino/brackets-electron/merges","archive_url":"https://api.github.com/repos/zaggino/brackets-electron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zaggino/brackets-electron/downloads","issues_url":"https://api.github.com/repos/zaggino/brackets-electron/issues{/number}","pulls_url":"https://api.github.com/repos/zaggino/brackets-electron/pulls{/number}","milestones_url":"https://api.github.com/repos/zaggino/brackets-electron/milestones{/number}","notifications_url":"https://api.github.com/repos/zaggino/brackets-electron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zaggino/brackets-electron/labels{/name}","releases_url":"https://api.github.com/repos/zaggino/brackets-electron/releases{/id}","created_at":"2015-05-02T22:32:51Z","updated_at":"2015-05-05T19:12:04Z","pushed_at":"2015-05-05T20:26:15Z","git_url":"git://github.com/zaggino/brackets-electron.git","ssh_url":"git@github.com:zaggino/brackets-electron.git","clone_url":"https://github.com/zaggino/brackets-electron.git","svn_url":"https://github.com/zaggino/brackets-electron","homepage":"http://brackets.io","size":73263,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zaggino/brackets-electron/pulls/14"},"html":{"href":"https://github.com/zaggino/brackets-electron/pull/14"},"issue":{"href":"https://api.github.com/repos/zaggino/brackets-electron/issues/14"},"comments":{"href":"https://api.github.com/repos/zaggino/brackets-electron/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/zaggino/brackets-electron/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/zaggino/brackets-electron/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zaggino/brackets-electron/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/zaggino/brackets-electron/statuses/55fe3356bf6d9826baa5311ff7a0cab83096bd37"}}}}