
Notice: If a customized icon is not provided, the Apache Cordova default icons are used. One icon can be used for the application and installer, but this icon should be at least 512x512 pixels to work across all operating systems. These icons should be defined in the Electron's platform node. There are two types of icons that can be defined, the application icon and the package installer icon.


See Alsoįor Windows the recommended approach to define application icons is to use the target attribute. Adaptive Icon with Colors:Ĭreate a res/values/colors.xml resource file in your project directory to store the app's color definitions. Note: In this example, the src attribute must be defined when then foreground attribute is defined with a vector or color. The fallback icon can be overridden by setting the src attribute. Note: In this example, the foreground image will also be used as the fallback icon for Android devices that do not support the adaptive icons.
