如何打包独立的 xulrunner 应用程序 [英] how to package a standalone xulrunner application
本文介绍了如何打包独立的 xulrunner 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道我需要做什么才能创建一个可执行 (.exe) 文件来运行我的 XUL 应用程序?
I was wondering what I need to do to create an executable (.exe) file that will run my XUL application?
我正在尝试使用 Mozilla 的 XUL 格式创建应用程序.
I'm trying to create an application using Mozilla's XUL format.
推荐答案
步骤如下:
- 使用 WinZip 压缩您的应用程序文件夹树.
- 将 .zip 文件重命名为 .xpi 扩展名.(即,myApp.xpi).
- 假设您的 PATH 中有 xulrunner,请执行:xulrunner --install-app myApp.xpi.
在 Windows 上,这会将您的应用安装到
On Windows, this installs your app to
c:\Program Files\<Vendor>\<Application Name>\<Application Name>.exe
与 application.ini 文件中的内容完全匹配的位置.
Where and match exactly with what is in your application.ini file.
在 Linux 上,过程类似.然而,在 OS X 上,事情相当不一样的.我还没有完全掌握 OS X 过程.
On Linux, the process is similar. On OS X, though, things are quite a bit different. I haven't completed mastered the OS X process yet.
另请参阅部署 XULRunner.
这篇关于如何打包独立的 xulrunner 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文