註冊時間: 2012-03-26, 16:36 文章: 1
|
用NPAPI寫了一個plugin,想包成XPI档发布。但是Firefox总提示无法安装,因为和Firefox x.xx不兼容,我用Firefox12和Firefox4都不行。
我的XPI结构如下: install.rdf plugins\npMYplugin.dll
install.rdf内容为: <?xml version="1.0"?> <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>my_plugin@test.com</em:id> <em:name>my plugin</em:name> <em:version>1.3.0.6</em:version> <em:type>2</em:type> <em:unpack>true</em:unpack> <em:targetApplication> <Description> <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> <em:minVersion>1.0.*</em:minVersion> <em:maxVersion>13.0.*</em:maxVersion> </Description> </em:targetApplication> <em:updateURL>http://www.te st.com/xpi/update.rdf</em:updateURL> <em:description>MY plugin for firefox</em:description> <em:creator>MY Inc.</em:creator> <em:homepageURL>http://www.te st.com/</em:homepageURL> </Description> </RDF>
|
|