Displaying an icon on the AIR Application Installa

2019-04-13 12:05发布

问题:

Is it possible to display an icon on the AIR Application Installation Screen?

I downloaded an AIR application, and I was surprised to see an icon on the second installation screen.

回答1:

When you purchase SSL certificate and make air application build with that certificate, then this icon is showed during installation.



回答2:

In your main-app.xml config file look for the <icon> tag and set an image file for the <image128x128> tag relative to your src folder eg.

<icon>
    <image16x16>/assets/icons/16x16.png</image16x16>
    <image32x32>/assets/icons/32x32.png</image32x32>
    <image48x48>/assets/icons/48x48.png</image48x48>        
    <image128x128>/assets/icons/128x128.png</image128x128>
</icon>

These different sizes cover you for different eventualities such as OSX dock, XP quick launch and also for the installer.