1
我爲chrome創建了擴展,我想自行更新。但是,我無法這樣做。有人可以告訴我我的錯誤?Chrome擴展程序自動更新
manifiest.json:
"update_url":"http://myhost.com/update.xml",
"version":"0.0.5.0"
update.xml:
<gupdate xmlns="http://www.google.com/update2/response" protocol="2.0">
<app appid="apoelbpnfhemjmnfkejmnfmdfhfhblii">
<updatecheck codebase="http://myhost.com/extension.crx" version="0.0.5.1"/>
</app>
</gupdate>
很抱歉,如果我犯了錯,但我不是以英語爲母語。
我遇到了同樣的問題,並且頂部有'<?xml version ='1.0'encoding ='UTF-8'?>'。我也有正確的url作爲codebase和manifest和update.xml之間的版本匹配。你自己看。 xml:https://raw.github.com/shawninder/Flags/master/chromeExtensionUpdates.xml,清單:https://raw.github.com/shawninder/Flags/master/chromeExtension/manifest.json – Shawn