2011-07-25 38 views
1

我写的Firefox扩展Firefox的升级问题

与以下的install.rdf

<?xml version="1.0"?> 
<!--Copyright 2011, Example --> 
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
    xmlns:em="http://www.mozilla.org/2004/em-rdf#"> 
    <Description about="urn:mozilla:install-manifest"> 
    <em:id>example</em:id> 
    <em:version>1.1</em:version> 
    <em:targetApplication> 
     <Description> 
     <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> 
     <em:minVersion>4.0</em:minVersion> 
     <em:maxVersion>6.*</em:maxVersion> 
     </Description> 
    </em:targetApplication> 
    <em:name>example</em:name> 
    <em:unpack>true</em:unpack> 
    <em:type>2</em:type> 
    <em:description>Example.</em:description> 
    <em:creator>Example.</em:creator> 
    <em:homepageURL>http://www.example.com/</em:homepageURL> 
    <em:iconURL>chrome://example/content/cm-logo.png</em:iconURL> 
    <em:updateURL>https://www.example.com/stat/update.php?ver=2.73</em:updateURL> 
    </Description> 
</RDF> 

但问题是,如果我在FF 4安装并开始在相同的配置文件的位置FF 5。 它显示为禁用(它显示为不兼容)。

如果我直接安装在FF 5中,它工作正常。

rdf文件有什么问题?

回答

0

有问题。

更新网址中的版本错误。

in update url我给版本3.6到4.:P