{"action":"created","comment":{"url":"https://api.github.com/repos/Thomas101/wmail/pulls/comments/50049272","id":50049272,"diff_hunk":"@@ -70,7 +76,17 @@ module.exports = React.createClass({\n \n \t\t// Tell the app about our unread count\n \t\tconst unread = store.totalUnreadCount()\n-\t\tapp.dock.setBadge(unread ? unread.toString() : '')\n+\t\tif(process.platform === 'darwin') {\n+\t\t\tapp.dock.setBadge(unread ? unread.toString() : '')\n+\t\t} else {\n+\t\t\tconst unreadText = unread ? unread + ' unread mail' : 'No unread mail';","path":"src/mailbox/ui/App.js","position":28,"original_position":28,"commit_id":"41373a34c0bb749e93df561dbf3344628ea5930b","original_commit_id":"41373a34c0bb749e93df561dbf3344628ea5930b","user":{"login":"parro-it","id":11197111,"avatar_url":"https://avatars.githubusercontent.com/u/11197111?v=3","gravatar_id":"","url":"https://api.github.com/users/parro-it","html_url":"https://github.com/parro-it","followers_url":"https://api.github.com/users/parro-it/followers","following_url":"https://api.github.com/users/parro-it/following{/other_user}","gists_url":"https://api.github.com/users/parro-it/gists{/gist_id}","starred_url":"https://api.github.com/users/parro-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parro-it/subscriptions","organizations_url":"https://api.github.com/users/parro-it/orgs","repos_url":"https://api.github.com/users/parro-it/repos","events_url":"https://api.github.com/users/parro-it/events{/privacy}","received_events_url":"https://api.github.com/users/parro-it/received_events","type":"User","site_admin":false},"body":"Unread message could need some improvement","created_at":"2016-01-18T22:07:25Z","updated_at":"2016-01-18T22:07:25Z","html_url":"https://github.com/Thomas101/wmail/pull/39#discussion_r50049272","pull_request_url":"https://api.github.com/repos/Thomas101/wmail/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/Thomas101/wmail/pulls/comments/50049272"},"html":{"href":"https://github.com/Thomas101/wmail/pull/39#discussion_r50049272"},"pull_request":{"href":"https://api.github.com/repos/Thomas101/wmail/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/Thomas101/wmail/pulls/39","id":56393313,"html_url":"https://github.com/Thomas101/wmail/pull/39","diff_url":"https://github.com/Thomas101/wmail/pull/39.diff","patch_url":"https://github.com/Thomas101/wmail/pull/39.patch","issue_url":"https://api.github.com/repos/Thomas101/wmail/issues/39","number":39,"state":"open","locked":false,"title":"Removed path to webpack binaries - use of tray icon in non-darwin platforms","user":{"login":"parro-it","id":11197111,"avatar_url":"https://avatars.githubusercontent.com/u/11197111?v=3","gravatar_id":"","url":"https://api.github.com/users/parro-it","html_url":"https://github.com/parro-it","followers_url":"https://api.github.com/users/parro-it/followers","following_url":"https://api.github.com/users/parro-it/following{/other_user}","gists_url":"https://api.github.com/users/parro-it/gists{/gist_id}","starred_url":"https://api.github.com/users/parro-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parro-it/subscriptions","organizations_url":"https://api.github.com/users/parro-it/orgs","repos_url":"https://api.github.com/users/parro-it/repos","events_url":"https://api.github.com/users/parro-it/events{/privacy}","received_events_url":"https://api.github.com/users/parro-it/received_events","type":"User","site_admin":false},"body":"Just a little simplification on scripts: modules binaries are automatically linked in node_modules/.bin filder, and npm automatically search binaries in that folder. No need to specify full binaries path.\r\n\r\nAlso, maybe you could find useful an [example of electron-packager usage here](https://github.com/parro-it/tunnels/blob/master/package.json#L33)","created_at":"2016-01-18T21:27:58Z","updated_at":"2016-01-18T22:07:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7ffc2267f39ffe6def8b90e897a30ad083007a5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Thomas101/wmail/pulls/39/commits","review_comments_url":"https://api.github.com/repos/Thomas101/wmail/pulls/39/comments","review_comment_url":"https://api.github.com/repos/Thomas101/wmail/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Thomas101/wmail/issues/39/comments","statuses_url":"https://api.github.com/repos/Thomas101/wmail/statuses/41373a34c0bb749e93df561dbf3344628ea5930b","head":{"label":"parro-it:master","ref":"master","sha":"41373a34c0bb749e93df561dbf3344628ea5930b","user":{"login":"parro-it","id":11197111,"avatar_url":"https://avatars.githubusercontent.com/u/11197111?v=3","gravatar_id":"","url":"https://api.github.com/users/parro-it","html_url":"https://github.com/parro-it","followers_url":"https://api.github.com/users/parro-it/followers","following_url":"https://api.github.com/users/parro-it/following{/other_user}","gists_url":"https://api.github.com/users/parro-it/gists{/gist_id}","starred_url":"https://api.github.com/users/parro-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parro-it/subscriptions","organizations_url":"https://api.github.com/users/parro-it/orgs","repos_url":"https://api.github.com/users/parro-it/repos","events_url":"https://api.github.com/users/parro-it/events{/privacy}","received_events_url":"https://api.github.com/users/parro-it/received_events","type":"User","site_admin":false},"repo":{"id":49741362,"name":"wmail","full_name":"parro-it/wmail","owner":{"login":"parro-it","id":11197111,"avatar_url":"https://avatars.githubusercontent.com/u/11197111?v=3","gravatar_id":"","url":"https://api.github.com/users/parro-it","html_url":"https://github.com/parro-it","followers_url":"https://api.github.com/users/parro-it/followers","following_url":"https://api.github.com/users/parro-it/following{/other_user}","gists_url":"https://api.github.com/users/parro-it/gists{/gist_id}","starred_url":"https://api.github.com/users/parro-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parro-it/subscriptions","organizations_url":"https://api.github.com/users/parro-it/orgs","repos_url":"https://api.github.com/users/parro-it/repos","events_url":"https://api.github.com/users/parro-it/events{/privacy}","received_events_url":"https://api.github.com/users/parro-it/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/parro-it/wmail","description":"OSX App for Google Inbox and Gmail","fork":true,"url":"https://api.github.com/repos/parro-it/wmail","forks_url":"https://api.github.com/repos/parro-it/wmail/forks","keys_url":"https://api.github.com/repos/parro-it/wmail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parro-it/wmail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parro-it/wmail/teams","hooks_url":"https://api.github.com/repos/parro-it/wmail/hooks","issue_events_url":"https://api.github.com/repos/parro-it/wmail/issues/events{/number}","events_url":"https://api.github.com/repos/parro-it/wmail/events","assignees_url":"https://api.github.com/repos/parro-it/wmail/assignees{/user}","branches_url":"https://api.github.com/repos/parro-it/wmail/branches{/branch}","tags_url":"https://api.github.com/repos/parro-it/wmail/tags","blobs_url":"https://api.github.com/repos/parro-it/wmail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parro-it/wmail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parro-it/wmail/git/refs{/sha}","trees_url":"https://api.github.com/repos/parro-it/wmail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parro-it/wmail/statuses/{sha}","languages_url":"https://api.github.com/repos/parro-it/wmail/languages","stargazers_url":"https://api.github.com/repos/parro-it/wmail/stargazers","contributors_url":"https://api.github.com/repos/parro-it/wmail/contributors","subscribers_url":"https://api.github.com/repos/parro-it/wmail/subscribers","subscription_url":"https://api.github.com/repos/parro-it/wmail/subscription","commits_url":"https://api.github.com/repos/parro-it/wmail/commits{/sha}","git_commits_url":"https://api.github.com/repos/parro-it/wmail/git/commits{/sha}","comments_url":"https://api.github.com/repos/parro-it/wmail/comments{/number}","issue_comment_url":"https://api.github.com/repos/parro-it/wmail/issues/comments{/number}","contents_url":"https://api.github.com/repos/parro-it/wmail/contents/{+path}","compare_url":"https://api.github.com/repos/parro-it/wmail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parro-it/wmail/merges","archive_url":"https://api.github.com/repos/parro-it/wmail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parro-it/wmail/downloads","issues_url":"https://api.github.com/repos/parro-it/wmail/issues{/number}","pulls_url":"https://api.github.com/repos/parro-it/wmail/pulls{/number}","milestones_url":"https://api.github.com/repos/parro-it/wmail/milestones{/number}","notifications_url":"https://api.github.com/repos/parro-it/wmail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parro-it/wmail/labels{/name}","releases_url":"https://api.github.com/repos/parro-it/wmail/releases{/id}","created_at":"2016-01-15T19:50:30Z","updated_at":"2016-01-15T19:50:30Z","pushed_at":"2016-01-18T22:03:41Z","git_url":"git://github.com/parro-it/wmail.git","ssh_url":"git@github.com:parro-it/wmail.git","clone_url":"https://github.com/parro-it/wmail.git","svn_url":"https://github.com/parro-it/wmail","homepage":null,"size":9534,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Thomas101:master","ref":"master","sha":"cf891c814d8aefe2d817379b4532beb608aff721","user":{"login":"Thomas101","id":103586,"avatar_url":"https://avatars.githubusercontent.com/u/103586?v=3","gravatar_id":"","url":"https://api.github.com/users/Thomas101","html_url":"https://github.com/Thomas101","followers_url":"https://api.github.com/users/Thomas101/followers","following_url":"https://api.github.com/users/Thomas101/following{/other_user}","gists_url":"https://api.github.com/users/Thomas101/gists{/gist_id}","starred_url":"https://api.github.com/users/Thomas101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thomas101/subscriptions","organizations_url":"https://api.github.com/users/Thomas101/orgs","repos_url":"https://api.github.com/users/Thomas101/repos","events_url":"https://api.github.com/users/Thomas101/events{/privacy}","received_events_url":"https://api.github.com/users/Thomas101/received_events","type":"User","site_admin":false},"repo":{"id":49533308,"name":"wmail","full_name":"Thomas101/wmail","owner":{"login":"Thomas101","id":103586,"avatar_url":"https://avatars.githubusercontent.com/u/103586?v=3","gravatar_id":"","url":"https://api.github.com/users/Thomas101","html_url":"https://github.com/Thomas101","followers_url":"https://api.github.com/users/Thomas101/followers","following_url":"https://api.github.com/users/Thomas101/following{/other_user}","gists_url":"https://api.github.com/users/Thomas101/gists{/gist_id}","starred_url":"https://api.github.com/users/Thomas101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thomas101/subscriptions","organizations_url":"https://api.github.com/users/Thomas101/orgs","repos_url":"https://api.github.com/users/Thomas101/repos","events_url":"https://api.github.com/users/Thomas101/events{/privacy}","received_events_url":"https://api.github.com/users/Thomas101/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Thomas101/wmail","description":"OSX App for Google Inbox and Gmail","fork":false,"url":"https://api.github.com/repos/Thomas101/wmail","forks_url":"https://api.github.com/repos/Thomas101/wmail/forks","keys_url":"https://api.github.com/repos/Thomas101/wmail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Thomas101/wmail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Thomas101/wmail/teams","hooks_url":"https://api.github.com/repos/Thomas101/wmail/hooks","issue_events_url":"https://api.github.com/repos/Thomas101/wmail/issues/events{/number}","events_url":"https://api.github.com/repos/Thomas101/wmail/events","assignees_url":"https://api.github.com/repos/Thomas101/wmail/assignees{/user}","branches_url":"https://api.github.com/repos/Thomas101/wmail/branches{/branch}","tags_url":"https://api.github.com/repos/Thomas101/wmail/tags","blobs_url":"https://api.github.com/repos/Thomas101/wmail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Thomas101/wmail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Thomas101/wmail/git/refs{/sha}","trees_url":"https://api.github.com/repos/Thomas101/wmail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Thomas101/wmail/statuses/{sha}","languages_url":"https://api.github.com/repos/Thomas101/wmail/languages","stargazers_url":"https://api.github.com/repos/Thomas101/wmail/stargazers","contributors_url":"https://api.github.com/repos/Thomas101/wmail/contributors","subscribers_url":"https://api.github.com/repos/Thomas101/wmail/subscribers","subscription_url":"https://api.github.com/repos/Thomas101/wmail/subscription","commits_url":"https://api.github.com/repos/Thomas101/wmail/commits{/sha}","git_commits_url":"https://api.github.com/repos/Thomas101/wmail/git/commits{/sha}","comments_url":"https://api.github.com/repos/Thomas101/wmail/comments{/number}","issue_comment_url":"https://api.github.com/repos/Thomas101/wmail/issues/comments{/number}","contents_url":"https://api.github.com/repos/Thomas101/wmail/contents/{+path}","compare_url":"https://api.github.com/repos/Thomas101/wmail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Thomas101/wmail/merges","archive_url":"https://api.github.com/repos/Thomas101/wmail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Thomas101/wmail/downloads","issues_url":"https://api.github.com/repos/Thomas101/wmail/issues{/number}","pulls_url":"https://api.github.com/repos/Thomas101/wmail/pulls{/number}","milestones_url":"https://api.github.com/repos/Thomas101/wmail/milestones{/number}","notifications_url":"https://api.github.com/repos/Thomas101/wmail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Thomas101/wmail/labels{/name}","releases_url":"https://api.github.com/repos/Thomas101/wmail/releases{/id}","created_at":"2016-01-12T22:33:32Z","updated_at":"2016-01-18T20:14:00Z","pushed_at":"2016-01-18T22:03:41Z","git_url":"git://github.com/Thomas101/wmail.git","ssh_url":"git@github.com:Thomas101/wmail.git","clone_url":"https://github.com/Thomas101/wmail.git","svn_url":"https://github.com/Thomas101/wmail","homepage":null,"size":84516,"stargazers_count":228,"watchers_count":228,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":23,"forks":10,"open_issues":23,"watchers":228,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Thomas101/wmail/pulls/39"},"html":{"href":"https://github.com/Thomas101/wmail/pull/39"},"issue":{"href":"https://api.github.com/repos/Thomas101/wmail/issues/39"},"comments":{"href":"https://api.github.com/repos/Thomas101/wmail/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/Thomas101/wmail/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/Thomas101/wmail/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Thomas101/wmail/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/Thomas101/wmail/statuses/41373a34c0bb749e93df561dbf3344628ea5930b"}}}}