如何在Mac OS X上安装并运行XulRunner应用程序? [英] How to Install and run a XulRunner Application on Mac OS X?
问题描述
我在Mac OS X Lion上,并且完全按照本教程进行操作:
https://developer.mozilla.org/zh/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
code>
我从这里下载的安装程序安装了XulRunner:
当我运行 /Library/Frameworks/XUL.framework/xulrunner-bin
我得到帮助指令,但是当我运行 /Library/Frameworks/XUL.framework/xulrunner-bin -v
我得到一个错误:
Mozilla XULRunner< ;错误> - < Error>
那么我应该怎么做?
我不确定是否确实支持 - install-app
。但直接运行应该可以,但是确保在路径 application.ini
之前添加 - app
命令行标志:
pre $ / $ library / application.ini
当您尝试直接运行应用程序时发生了什么? 不起作用不是一个很好的描述...
最后一个建议是:当前的 stable XULRunner版本是XULRunner 6.0 ,你应该使用它。
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?
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 to application.ini
however:
/Library/Frameworks/XUL.framework/xulrunner-bin --app "/Users/CIRK/Documents/dekapp/application.ini"
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.
这篇关于如何在Mac OS X上安装并运行XulRunner应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!