安装自托管chrome扩展程序

时间:2016-04-06 02:06:38

标签: google-chrome google-chrome-extension registry

我们为团队成员创建了一个chrome扩展程序,我们希望自己托管它。

我知道非网络商店安装政策,我觉得我已经正确设置了它但不起作用。

这就是我所拥有的:

我使用更新网址和扩展ID键设置我的清单,如下所示:

{
  "update_url": "https://ourownserver.com/extensions/updates.xml",
  "key":"obljkonioibfihfjbaiidbobmckpkned",
 ....
}

我像这样创建了updates.xml

<gupdate xmlns="http://www.google.com/update2/response" protocol="2.0">
    <app appid="obljkonioibfihfjbaiidbobmckpkned">
        <updatecheck codebase="some-extension.crx" version="3.6"/>
    </app>
</gupdate>

我使用chrome://extensions打包.crx和.pem文件,并将它们全部转换为https://ourownserver.com/extensions/,如下所示:

;

我使用regedit在HKEY_LOCAL_MACHINE下添加ExtensionInstallWhitelistExtensionInstallSources,如下所示:

enter image description here

enter image description here

然后我关闭Chrome并重新打开它

完成所有这些后,我希望转到https://ourownserver.com/extensions/extensionName.crx将安装扩展程序,并且它将被启用。但是,如果我去https://ourownserver.com/extensions/extensionName.crx,我仍然会得到:

enter image description here

在扩展程序选项卡上,它已安装但已停用,并显示以下消息:

enter image description here

我认为我没有正确添加注册表项,但我无法找到更详细的演练以确保。

我在这里做错了什么?

0 个答案:

没有答案
相关问题