我已经为我的公司完成了一个扩展,我想把它放在公司wiki上,这样为了在每个人的机器上得到它,我所要做的就是回顾并点击链接。制作可点击链接以在Chrome中安装扩展程序的规则?
首先,我已阅读http://developer.chrome.com/extensions/hosting.html关于托管和自动化以及所有这些文档。部分原因混淆了我,我不能找到有关这个的任何详细信息:
Google Chrome considers a file to be installable if either of the following is true:
The file has the content type application/x-chrome-extension
The file suffix is .crx and both of the following are true:
The file is not served with the HTTP header X-Content-Type-Options: nosniff
The file is served with one of the following content types:
empty string
"text/plain"
"application/octet-stream"
"unknown/unknown"
"application/unknown"
"*/*"
这看上去好像是想要一个MIME风格设置?但我从来没有做过任何事情。我有能力改变我想要的本地托管的Wiki,我需要的是了解需要更改哪些链接以进行安装。我会继续寻找例子。
注意:它没有在应用程序商店的原因是,真的没有理由。它是我们公司的品牌,与我们特定服务器的通信是硬编码的。
所以我还有一个问题,如果我手动在机器上安装扩展并正确设置主机并设置自动更新,我是否可以更改它并使所有计算机更新而无需手动转向?即使它不在应用商店中? – njfife
据我所知,Google并没有削弱店外扩展的自动更新功能。我相信自动更新功能的文档是完全正确的,所以如果您在清单中包含相应的字段并在您的服务器上托管扩展和更新XML,则应更新扩展。 – apsillers
谢谢你,我会这样做,然后 – njfife