简体   繁体   English

如何为Adobe AIR应用程序设置安装程序图标?

[英]How to set an installer icon for Adobe AIR applications?

I'm trying to set the installer icon of an Adobe AIR application, like in the screenshot below: 我正在尝试设置Adobe AIR应用程序的安装程序图标,如下面的屏幕截图所示:

在此处输入图片说明

but I cannot figure out how to do it. 但我不知道该怎么做。 I've specified the icons in the app.xml but nothing is showing up. 我已经在app.xml中指定了图标,但没有显示任何内容。 Any idea how to do this? 任何想法如何做到这一点?

You have to include the icon images in the AIR packagee as well as reference them in the app.xml file. 您必须在AIR软件包中包括图标图像,并在app.xml文件中引用它们。 (Flash and Flash Builder should do this for you, but if you are packaging from the command line, it is easy to forget.) Make sure that they end up in the correct path within the package relative to the main app SWF or HTML file. (Flash和Flash Builder应该为您执行此操作,但是如果从命令行进行打包,则很容易忘记。)请确保它们最终位于相对于主应用程序SWF或HTML文件的软件包中正确的路径中。 I/e/ if you reference your icon as "foo/icon.png", it has to be in the "foo" subdirectory within the package. 如果您将图标引用为“ foo / icon.png”,则该图标必须位于软件包的“ foo”子目录中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM