开发者

Problem With Self-Hosted Chrome Web App

On installtion I am provoked with this error message

Apps must be served with content type application/x-chrome-extension

My manifest file is as follows

manifest.json

{
  "name": "itsdaniel0",
  "description": "A quick click-through web app",
  "version": "1.0.1",
  "update_url": "http://www.itsdaniel0.com/chrome/app/updates.xml",
  "app": {
    "urls": [
      "*://www.itsdaniel0.com/",
      "*://www.itsdamiel0.com/blog/",
      "开发者_如何学运维*://dl.dropbox.com/"
    ],
    "launch": {
      "web_url": "http://www.itsdaniel0.com/blog/"
    }
  },
  "icons": {
    "128": "logo.png"
  },
  "permissions": [
  ]
}

D/L Link - http://dl.dropbox.com/u/17087195/chrome_extensions/itsdaniel0-app.crx


you could tell your users to right click on the link ---> Click 'save as'. The file would be downloaded. Then drag file into chrome. Wala!


Requirements are described in Hosting section, you need to tune your web server accordingly to send required headers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜