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.
Java set icon size windows 10#
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.