{"action":"created","issue":{"url":"https://api.github.com/repos/electron-userland/electron-packager/issues/128","repository_url":"https://api.github.com/repos/electron-userland/electron-packager","labels_url":"https://api.github.com/repos/electron-userland/electron-packager/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/electron-userland/electron-packager/issues/128/comments","events_url":"https://api.github.com/repos/electron-userland/electron-packager/issues/128/events","html_url":"https://github.com/electron-userland/electron-packager/issues/128","id":105301019,"number":128,"title":"How to Set Linux Icon","user":{"login":"jlord","id":1305617,"avatar_url":"https://avatars.githubusercontent.com/u/1305617?v=3","gravatar_id":"","url":"https://api.github.com/users/jlord","html_url":"https://github.com/jlord","followers_url":"https://api.github.com/users/jlord/followers","following_url":"https://api.github.com/users/jlord/following{/other_user}","gists_url":"https://api.github.com/users/jlord/gists{/gist_id}","starred_url":"https://api.github.com/users/jlord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlord/subscriptions","organizations_url":"https://api.github.com/users/jlord/orgs","repos_url":"https://api.github.com/users/jlord/repos","events_url":"https://api.github.com/users/jlord/events{/privacy}","received_events_url":"https://api.github.com/users/jlord/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/electron-userland/electron-packager/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-08T04:54:11Z","updated_at":"2016-06-22T14:07:08Z","closed_at":"2015-09-08T05:09:23Z","body":"Am opening a separate issue here rather than carry on in #125.\r\n\r\nI've not been able to set an icon for the packaged Linux version of my app. It's not documented and must work differently than OS X or Windows? In the other thread it was mentioned that you just need to set `icon` in `BroswerWindow`, however, that doesn't work for me. Perhaps I'm missing something obvious? \r\n\r\nEither way it would be good to get it stated clearly so that we can add it to the documentation :book: \r\n\r\nI set `icon` in my `BrowserWindow` [here](https://github.com/jlord/git-it-electron/blob/master/main.js#L29). I've tried it both as a `NativeImage` and as the path to the `.png` via `iconPath`. I get the same results.\r\n\r\nWhen using `electron-packager` I'm running [this npm script](https://github.com/jlord/git-it-electron/blob/master/main.js#L29). I've tried it with the `--icon` flag and without along with both variants of the `main.js` code I mention :point_up: \r\n\r\nI still do not get my icon as the app's icon in the file manager or in the dock:\r\n\r\n![appicon](https://cloud.githubusercontent.com/assets/1305617/9726617/4caeb748-55aa-11e5-97ab-6c7f58dca929.png)\r\n\r\n![docicon](https://cloud.githubusercontent.com/assets/1305617/9726622/5f5bbc1a-55aa-11e5-8adc-50d2ed35862f.png)\r\n\r\nAre there other formatting specifications like size or color type? My image is [here](https://github.com/jlord/git-it-electron/blob/master/assets/git-it.png)."},"comment":{"url":"https://api.github.com/repos/electron-userland/electron-packager/issues/comments/227754583","html_url":"https://github.com/electron-userland/electron-packager/issues/128#issuecomment-227754583","issue_url":"https://api.github.com/repos/electron-userland/electron-packager/issues/128","id":227754583,"user":{"login":"malept","id":11417,"avatar_url":"https://avatars.githubusercontent.com/u/11417?v=3","gravatar_id":"","url":"https://api.github.com/users/malept","html_url":"https://github.com/malept","followers_url":"https://api.github.com/users/malept/followers","following_url":"https://api.github.com/users/malept/following{/other_user}","gists_url":"https://api.github.com/users/malept/gists{/gist_id}","starred_url":"https://api.github.com/users/malept/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malept/subscriptions","organizations_url":"https://api.github.com/users/malept/orgs","repos_url":"https://api.github.com/users/malept/repos","events_url":"https://api.github.com/users/malept/events{/privacy}","received_events_url":"https://api.github.com/users/malept/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T14:07:08Z","updated_at":"2016-06-22T14:07:08Z","body":"This is an example of mine that I know works, because I use Xfce (although it's CoffeeScript, not JavaScript): https://github.com/malept/gmusicprocurator-app/blob/master/src/main.coffee#L14-L21"}}
{"actor":{"display_login":"malept"}}