如何在 Mac OS X 上安装并运行 XulRunner 应用程序?
我使用的是 Mac OS X Lion,并且完全按照本教程进行操作:
https:// developer.mozilla.org/en/getting_started_with_xulrunner
当我尝试运行时:
/Library/Frameworks/XUL.framework/xulrunner-bin --install-app /Users/CIRK/Documents/deskapp.zip
在终端中没有给我任何结果,并且我找不到任何名为deskapp.app
。所以我的意思是什么也没有发生。
我尝试按照教程中的建议在不安装的情况下运行它,但不起作用:
/Library/Frameworks/XUL.framework/xulrunner-bin "/Users/CIRK/Documents/dekapp/application.ini"
我通过从此处下载的安装程序安装了 XulRunner:
时我运行 /Library/Frameworks/XUL.framework/xulrunner-bin
我得到了帮助说明,但是当我运行时/Library/Frameworks/XUL.framework/xulrunner-bin -v
我收到错误:
Mozilla XULRunner
那么我该怎么办?
I'm on a Mac OS X Lion, and I have followed this tutorial exactly as it is:
https://developer.mozilla.org/en/getting_started_with_xulrunner
When I try to run:
/Library/Frameworks/XUL.framework/xulrunner-bin --install-app /Users/CIRK/Documents/deskapp.zip
Gives me nothing as a result in the terminal, and I can't find any file called deskapp.app
. So I mean nothing happens at all.
I tried to run it without the installation as it is suggested in the tutorial but doesn't worked :
/Library/Frameworks/XUL.framework/xulrunner-bin "/Users/CIRK/Documents/dekapp/application.ini"
I installed XulRunner from an installer downloaded from here:
when I run /Library/Frameworks/XUL.framework/xulrunner-bin
I get the help instructions but when I run /Library/Frameworks/XUL.framework/xulrunner-bin -v
I get an error:
Mozilla XULRunner <Error> - <Error>
So what should I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不确定是否真正支持
--install-app
。直接运行应该可以,但是,请确保在application.ini
路径之前添加--app
命令行标志:但是:当您尝试直接运行应用程序时发生了什么? “不起作用”并不是一个很好的描述...
最后一个建议:当前稳定 XULRunner 版本是 XULRunner 6.0,您应该使用它。
I'm not sure whether
--install-app
is really supported. Running directly should work however, make sure to add--app
command line flag before the path toapplication.ini
however:What happened when you tried to run the app directly? "Doesn't work" isn't a great description...
And one final suggestion: the current stable XULRunner release is XULRunner 6.0, you should use it.
Firefox 3+ 包含 xulrunner,您可以使用以下方式运行任何应用程序:
Firefox 3+ includes xulrunner, you can run any app using: