{"action":"created","issue":{"url":"https://api.github.com/repos/maxogden/electron-packager/issues/167","labels_url":"https://api.github.com/repos/maxogden/electron-packager/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/maxogden/electron-packager/issues/167/comments","events_url":"https://api.github.com/repos/maxogden/electron-packager/issues/167/events","html_url":"https://github.com/maxogden/electron-packager/issues/167","id":113036032,"number":167,"title":"Mac doc icon gets tiny when setProgressBar is called","user":{"login":"MoonScript","id":1203504,"avatar_url":"https://avatars.githubusercontent.com/u/1203504?v=3","gravatar_id":"","url":"https://api.github.com/users/MoonScript","html_url":"https://github.com/MoonScript","followers_url":"https://api.github.com/users/MoonScript/followers","following_url":"https://api.github.com/users/MoonScript/following{/other_user}","gists_url":"https://api.github.com/users/MoonScript/gists{/gist_id}","starred_url":"https://api.github.com/users/MoonScript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoonScript/subscriptions","organizations_url":"https://api.github.com/users/MoonScript/orgs","repos_url":"https://api.github.com/users/MoonScript/repos","events_url":"https://api.github.com/users/MoonScript/events{/privacy}","received_events_url":"https://api.github.com/users/MoonScript/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/maxogden/electron-packager/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/maxogden/electron-packager/labels/needs%20info","name":"needs info","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-23T14:54:19Z","updated_at":"2015-10-23T15:40:25Z","closed_at":"2015-10-23T15:40:25Z","body":"When using `electron-packager` with the `--icon` option with an `*.icns` file, my custom icon in the dock looks great:\r\n\r\n![initial dock icon](https://cloud.githubusercontent.com/assets/1203504/10695809/5424fe6c-796b-11e5-91d6-00c9eb0289ab.png)\r\n\r\n...but as soon as I call the [setProgressBar](http://electron.atom.io/docs/v0.34.0/api/browser-window/#win-setprogressbar-progress) method of the Electron window, the dock icon gets tiny:\r\n\r\n![after setprogressbar is called](https://cloud.githubusercontent.com/assets/1203504/10695852/83c699e6-796b-11e5-9398-59fb058499cb.png)\r\n\r\nI assume this is a problem with how the `electron-packager` sets up the icon, because when I do the same thing with the base Electron code (without using `electron-packager`), the default Electron dock icon stays full-size:\r\n\r\n![electron icon unchanged](https://cloud.githubusercontent.com/assets/1203504/10695913/e6c551ae-796b-11e5-801a-cb060b063375.png)\r\n"},"comment":{"url":"https://api.github.com/repos/maxogden/electron-packager/issues/comments/150611434","html_url":"https://github.com/maxogden/electron-packager/issues/167#issuecomment-150611434","issue_url":"https://api.github.com/repos/maxogden/electron-packager/issues/167","id":150611434,"user":{"login":"MoonScript","id":1203504,"avatar_url":"https://avatars.githubusercontent.com/u/1203504?v=3","gravatar_id":"","url":"https://api.github.com/users/MoonScript","html_url":"https://github.com/MoonScript","followers_url":"https://api.github.com/users/MoonScript/followers","following_url":"https://api.github.com/users/MoonScript/following{/other_user}","gists_url":"https://api.github.com/users/MoonScript/gists{/gist_id}","starred_url":"https://api.github.com/users/MoonScript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoonScript/subscriptions","organizations_url":"https://api.github.com/users/MoonScript/orgs","repos_url":"https://api.github.com/users/MoonScript/repos","events_url":"https://api.github.com/users/MoonScript/events{/privacy}","received_events_url":"https://api.github.com/users/MoonScript/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T15:40:25Z","updated_at":"2015-10-23T15:40:25Z","body":"@malept I received that `*.icns` file from one of our designers and I think it was not created properly (for Mac to understand).  I just followed [this tutorial](http://applehelpwriter.com/2012/12/16/make-your-own-icns-icons-for-free/) and recreated my `*.icns` file, and now the icon stays the proper size in the dock!\r\n\r\n![dock icon proper size with progress bar](https://cloud.githubusercontent.com/assets/1203504/10697593/569d43c8-7972-11e5-8ee3-9d86876ad0cb.png)\r\n\r\nSorry for taking up your time on this, and thanks for talking through it with me."}}