Jahrenski commented on issue #176:
URL:
https://github.com/apache/cordova-electron/issues/176#issuecomment-764870201
Thanks alot for the info!
For the icon issue, I've made a hook script to copy the icon at the right
spot and call it from Config.xml
```
<platform name="electron">
<hook src="hooks/copy-icons.js" type="after_prepare" />
<preference name="ElectronSettingsFilePath"
value="resources/electron/settings.json" />
<icon src="resources/electron/icon/icon.png" />
<icon src="resources/electron/icon/[email protected]" />
</platform>
```
And here is the script itself. Modify it to your needs based on the icons
you need.
[copy-icons.zip](https://github.com/apache/cordova-electron/files/5851510/copy-icons.zip)
So back to the build.json file, the provisioningProfile field does not seem
to work. The build process will tell me "The provided provisioning profile does
not exist in the given path => <name of the provisioning profile>"
Since this is a release profile, I had to make a fake xcode project to
import the profile into the system.
I'm still ironing out the certificate issue. If I find a working solution,
I'll be sure to let you know!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]