Polm90 opened a new issue, #251:
URL: https://github.com/apache/cordova-electron/issues/251
# Bug Report
## Problem
### What is expected to happen?
I want to customize the app icon, avoiding to use the default electron one.
### What does actually happen?
Building the app, it says "default Electron icon is used reason=application
icon is not set" and it uses the default icons and not the ones I've specified
in config.xml file.
## Information
<!-- Include all relevant information that might help understand and
reproduce the problem -->
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
Config.xml file:
```xml
<platform name="electron">
<preference name="ElectronSettingsFilePath"
value="res/electron/settings.json"/>
<preference name="ShowSplashScreen" value="true"/>
<icon src="res/electron/icons/512x512.png" target="app"/>
<icon src="res/electron/icons/1024x1024.png" target="installer"/>
</platform>
```
Command:
`cordova build electron`
Build.json:
```json
{
"electron": {
"release": {
"windows": {
"package": [
"msi",
"appx"
],
"arch": [
"x64"
],
"signing": {
"release": {
"certificateFile": "",
"certificatePassword": ""
}
}
}
},
"debug": {
"windows": {
"package": [
"msi","zip"
],
"arch": [
"x64"
],
"signing": {
"release": {
"certificateFile": "",
"certificatePassword": ""
}
}
}
}
}
}
```
### Environment, Platform, Device, Version information
<!-- In what environment, on what platform or on which device are you
experiencing the issue? -->
I'm on windows 11.
Cordova: 11.1.0
Cordova-electron: 3.1.0
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]