当我升级到centos 6andxulrunner 10.0.4时,我的应用程序停止工作。Xulrunner 只是挂了。
我的目录结构:
.
|-- application.ini
|-- chrome
| |-- chrome.manifest
| `-- content
| |-- main.xul
| `-- main.xul.tpl.org
|-- defaults
| `-- preferences
| `-- prefs.js
根据 developer.mozilla.org 的示例应用程序,您的应用程序缺少包含以下内容chrome.manifest的兄弟文件application.ini:
manifest chrome/chrome.manifest
有趣的是它适用于 xulrunner 12.0,但不适用于 10.0。只需添加文件,您的应用程序就可以工作了。