You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Polm90 (via GitHub)" <gi...@apache.org> on 2023/02/21 11:15:16 UTC
[GitHub] [cordova-electron] Polm90 opened a new issue, #251: Unable to set the custom icons
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: issues-unsubscribe@cordova.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [I] Unable to set the custom icons [cordova-electron]
Posted by "mbreslein-thd (via GitHub)" <gi...@apache.org>.
mbreslein-thd commented on issue #251:
URL: https://github.com/apache/cordova-electron/issues/251#issuecomment-2134630714
This issue still persists 15 Months later.
Any help with this would be appreciated.
--
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: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org