How to configurate APP icon for Firefox OS?

my manifest.webapp:

"icons": {
    "30": "img/icon_30.png",
    "60": "img/icon_60.png"
},

but icon don't display in Firefox OS simulator. My app hosted on the Github Pages. I suspect that icon display in the simulator if the domain must be top-level domain.

Please give me a correct config example if my domain no problem. thank you for any answers.


Try writing the whole path for the icon, from the root of your project. For example, if the folder for your project is called "hello_world" (so your GitHub project is http://github.com/user/hello_world), you'd write:

"icons": {
    "30": "/hello_world/img/icon_30.png",
    "60": "/hello_world/img/icon_60.png"
}

I hope this helps.

链接地址: http://www.djcxy.com/p/79746.html

上一篇: 建议创建本机的建议方式是什么?

下一篇: 如何为Firefox OS配置APP图标?