{"action":"created","issue":{"url":"https://api.github.com/repos/ZeroX-DG/SnippetStore/issues/14","repository_url":"https://api.github.com/repos/ZeroX-DG/SnippetStore","labels_url":"https://api.github.com/repos/ZeroX-DG/SnippetStore/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/ZeroX-DG/SnippetStore/issues/14/comments","events_url":"https://api.github.com/repos/ZeroX-DG/SnippetStore/issues/14/events","html_url":"https://github.com/ZeroX-DG/SnippetStore/issues/14","id":358677591,"node_id":"MDU6SXNzdWUzNTg2Nzc1OTE=","number":14,"title":"Mac - Incorrect Tray Icon Size","user":{"login":"Eric-Jackson","id":1268260,"node_id":"MDQ6VXNlcjEyNjgyNjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1268260?v=4","gravatar_id":"","url":"https://api.github.com/users/Eric-Jackson","html_url":"https://github.com/Eric-Jackson","followers_url":"https://api.github.com/users/Eric-Jackson/followers","following_url":"https://api.github.com/users/Eric-Jackson/following{/other_user}","gists_url":"https://api.github.com/users/Eric-Jackson/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric-Jackson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric-Jackson/subscriptions","organizations_url":"https://api.github.com/users/Eric-Jackson/orgs","repos_url":"https://api.github.com/users/Eric-Jackson/repos","events_url":"https://api.github.com/users/Eric-Jackson/events{/privacy}","received_events_url":"https://api.github.com/users/Eric-Jackson/received_events","type":"User","site_admin":false},"labels":[{"id":959596687,"node_id":"MDU6TGFiZWw5NTk1OTY2ODc=","url":"https://api.github.com/repos/ZeroX-DG/SnippetStore/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-10T15:32:48Z","updated_at":"2018-10-02T06:44:04Z","closed_at":null,"author_association":"NONE","body":"On Mac, the tray icon is displaying at the full 512px. \r\n\r\nI've used the following code on line 7 of `app-tray.js` to correct the issue:\r\n\r\n```js\r\n  let icon\r\n  if (process.platform === 'darwin') {\r\n    icon = 'icon18.png'\r\n  } else {\r\n    icon = 'icon512.png'\r\n  }\r\n\r\n  tray = new Tray(\r\n    nativeImage.createFromPath(\r\n      path.join(__dirname, '..', 'resources', 'icon', icon)\r\n    )\r\n  )\r\n```\r\n\r\n`icon18.png` is an 18x18px image.\r\n"},"comment":{"url":"https://api.github.com/repos/ZeroX-DG/SnippetStore/issues/comments/426166137","html_url":"https://github.com/ZeroX-DG/SnippetStore/issues/14#issuecomment-426166137","issue_url":"https://api.github.com/repos/ZeroX-DG/SnippetStore/issues/14","id":426166137,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjE2NjEzNw==","user":{"login":"ZeroX-DG","id":12984316,"node_id":"MDQ6VXNlcjEyOTg0MzE2","avatar_url":"https://avatars2.githubusercontent.com/u/12984316?v=4","gravatar_id":"","url":"https://api.github.com/users/ZeroX-DG","html_url":"https://github.com/ZeroX-DG","followers_url":"https://api.github.com/users/ZeroX-DG/followers","following_url":"https://api.github.com/users/ZeroX-DG/following{/other_user}","gists_url":"https://api.github.com/users/ZeroX-DG/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeroX-DG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeroX-DG/subscriptions","organizations_url":"https://api.github.com/users/ZeroX-DG/orgs","repos_url":"https://api.github.com/users/ZeroX-DG/repos","events_url":"https://api.github.com/users/ZeroX-DG/events{/privacy}","received_events_url":"https://api.github.com/users/ZeroX-DG/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T06:44:04Z","updated_at":"2018-10-02T06:44:04Z","author_association":"OWNER","body":"@Eric-Jackson can you confirm that this bug had been fixed in the latest release ?"}}
{"actor":{"display_login":"ZeroX-DG"}}