Air中文:Adobe AIR-.air至.exe/.dmg/.rpm

我需要从.air 文件获取 Mac 和 Linux 的本机安装程序。我在 Windows 上并使用 AIR 2.5.

我遇到了this interesting Windows application将.air 文件转换为.exe /.dmg /.rpm。我不能让它工作,所以有人使用它,可以证明功能或可以推荐一个类似的应用程序?

谢谢。乌利

2

是一篇文章从 Adobe 来完成你想在这里做什么:

http://help.adobe.com/en_US/air/build/WS789ea67d3e73a8b22388411123785d839c-8000.html

我不确定是否还有其他应用程序可以为您自动执行此过程。当这个功能首次进入测试版时,有几个人回来了,但我认为它们已经消失或不兼容。

http://bishoponvsto.wordpress.com/2010/02/23/adobe-air-2beta-2-to-exe-packaging-air-app-in-windows-executable/
2

Air docs:“您必须在与要生成的本机安装程序文件相同的操作系统上使用 ADT。”

我在 Mac 上开发并通过 bootcamp 运行 Windows,并且使用此设置,我已经能够为两个操作系统创建本机安装程序。另外值得注意的是,Adobe 已经放弃了对 v2.6 的 Linux 支持,因此这可能会影响您愿意经历多少麻烦来构建.rpm

2

你应该使用 ADT 命令。

adt -package -target native myApp.dmg myApp.air for MAC

adt -package -target native myApp.exe myApp.air fr Windows
-2

为什么不看看这篇关于NativeProcess functionality的文章,它描述了创建本机安装程序的过程。

To package the application, invoke the ADT application using syntax to package a native installer application version.
You must run ADT on the same operating system as the target installer application. To generate a DMG file, run ADT on Mac OS. To generate an EXE installer file, run ADT on Windows.
For example, the following command packages a DMG file on Mac OS:
adt -package -storetype pkcs12 -keystore myCert.p12 -target native NativeProcessTest.dmg NativeProcessTest-app.xml NativeProcessTest.swf NativeApps/Mac/bin/echoTestMac icons
Before running this command, open the Terminal application and navigate to the output directory for your Flex project. Adjust the following:
    The path to the ADT application in the Flex SDK
    The name and path of the signing certificate (given as myCert.p12 in this example)
For example, the following command packages an EXE installer file on Windows:
adt -package -storetype pkcs12 -keystore myCert.p12 -target native NativeProcessTest.exe NativeProcessTest-app.xml NativeProcessTest.swf NativeApps/Windows/bin/echoTestWindows icons
Before running this command, open a command line session and navigate to the output directory for your Flex project. Adjust the following:
    The path to the ADT application in the Flex SDK
    The name and path of the signing certificate (given as myCert.p12 in this example)
For more information on using ADT and on using signing certificates, refer to "Packaging an AIR application in a native installer" in Building Adobe AIR applications.

Captive Runtime将执行类似的操作,但需要 AIR 3 或更高版本。

本站系公益性非盈利分享网址,本文来自用户投稿,不代表边看边学立场,如若转载,请注明出处

(345)
Repairing:修复fstab(只读 /)(failed to remount root and kernel file s
上一篇
C语言pai怎么表示:导航栏在横向模式下向上移动-iOS
下一篇

相关推荐

发表评论

登录 后才能评论

评论列表(54条)