{"action":"opened","issue":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/2760","repository_url":"https://api.github.com/repos/electron-userland/electron-builder","labels_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/2760/labels{/name}","comments_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/2760/comments","events_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/2760/events","html_url":"https://github.com/electron-userland/electron-builder/issues/2760","id":310039152,"number":2760,"title":"App Icon on Associated Files in MAC.","user":{"login":"alishah-edgy","id":35536928,"avatar_url":"https://avatars1.githubusercontent.com/u/35536928?v=4","gravatar_id":"","url":"https://api.github.com/users/alishah-edgy","html_url":"https://github.com/alishah-edgy","followers_url":"https://api.github.com/users/alishah-edgy/followers","following_url":"https://api.github.com/users/alishah-edgy/following{/other_user}","gists_url":"https://api.github.com/users/alishah-edgy/gists{/gist_id}","starred_url":"https://api.github.com/users/alishah-edgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alishah-edgy/subscriptions","organizations_url":"https://api.github.com/users/alishah-edgy/orgs","repos_url":"https://api.github.com/users/alishah-edgy/repos","events_url":"https://api.github.com/users/alishah-edgy/events{/privacy}","received_events_url":"https://api.github.com/users/alishah-edgy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-30T11:00:50Z","updated_at":"2018-03-30T11:00:50Z","closed_at":null,"author_association":"NONE","body":"<!-- Which version of electron-builder are you using? -->\r\n\r\n<!-- Please always try to use latest version before report. -->\r\n* **19.56.2**: \r\n\r\n\r\n<!-- What target are you building for? -->\r\n* **MAC OS**: \r\n\r\n<!-- Enter your issue details below this comment. -->\r\nI am trying to add icon to the associated files. It works great on windows. But on MAC it does not show the icon on associated file.\r\nAlthough file is associated correctly. only the icon does not show on it.\r\n\r\n```\r\n    \"mac\": {\r\n      \"category\": \"public.app-category.productivity\",\r\n      \"target\": \"zip\",\r\n      \"icon\" : \"build/icon.icns\",\r\n      \"extendInfo\": \"resources/info.plist\"\r\n    },\r\n    \"fileAssociations\": {\r\n      \"ext\": \"fx\",\r\n      \"role\": \"Editor\",\r\n      \"name\": \"foxy\"\r\n    },\r\n    \"nsis\": {\r\n      \"perMachine\": true,\r\n      \"installerHeaderIcon\": \"build/icon.ico\"\r\n    }\r\n```\r\n**info.plist**\r\n\r\n```<plist version=\"1.0\">\r\n  <dict>\r\n    <key>CFBundleDocumentTypes</key>\r\n    <array>\r\n      <dict>\r\n        <key>CFBundleTypeExtensions</key>\r\n        <array>\r\n          <string>fx</string>\r\n        </array>\r\n        <key>CFBundleTypeIconFile</key>\r\n        <string>icon.icns</string>\r\n        <key>CFBundleTypeRole</key>\r\n        <string>Editor</string>\r\n      </dict>\r\n    </array>\r\n  </dict>\r\n</plist>\r\n```\r\n\r\n"}}
{"actor":{"display_login":"alishah-edgy"}}