aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/archive/mozilla/xpinstall/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/archive/mozilla/xpinstall/index.html
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/archive/mozilla/xpinstall/index.html')
-rw-r--r--files/zh-cn/archive/mozilla/xpinstall/index.html83
1 files changed, 83 insertions, 0 deletions
diff --git a/files/zh-cn/archive/mozilla/xpinstall/index.html b/files/zh-cn/archive/mozilla/xpinstall/index.html
new file mode 100644
index 0000000000..b1d122e53b
--- /dev/null
+++ b/files/zh-cn/archive/mozilla/xpinstall/index.html
@@ -0,0 +1,83 @@
+---
+title: XPInstall
+slug: Archive/Mozilla/XPInstall
+tags:
+ - XPInstall
+ - XPInstall_API_reference
+translation_of: Archive/Mozilla/XPInstall
+---
+<p></p><div class="warning"><p>Parts of this page show the use of the <a href="https://developer.mozilla.org/zh-CN/docs/XPInstall_API_Reference">XPInstall API</a>. The majority of this API is now deprecated and as of Gecko 1.9 no longer available. <a href="https://developer.mozilla.org/zh-CN/docs/Extensions">Extension</a>, <a href="https://developer.mozilla.org/zh-CN/docs/Themes">Theme</a>, and <a href="https://developer.mozilla.org/zh-CN/docs/Plugins">plug-in</a> developers must switch away from <code>install.js</code> based packages to the new <a href="https://developer.mozilla.org/zh-CN/docs/Bundles">packaging scheme</a> with an <code><a href="https://developer.mozilla.org/zh-CN/docs/Install_Manifests">install.rdf</a></code> manifest. In particular plugin developers should see <a class="new" href="https://developer.mozilla.org/zh-CN/docs/Shipping_a_plugin_as_a_Toolkit_bundle" rel="nofollow">how to package a plugin as an extension</a>.</p></div><p></p>
+
+<div><strong>Cross-Platform Install (XPInstall)</strong> is a technology used by Mozilla Application Suite, Mozilla Firefox, Mozilla Thunderbird and other <a href="cn/XUL">XUL</a>-based applications for installing <a href="cn/Extensions">extensions</a>. An <a href="cn/XPI">XPI</a> (pronounced "zippy" and derived from XPInstall) installer module is a ZIP file that contains an install script or manifest (entitled install.js or <a href="cn/Install_Manifests">install.rdf</a>) at the root of the file.<br>
+<strong>跨平台安装(XPInstall)</strong>是被Mozilla应用程序套件(Firefox, Thunderbird, 其它一些基于<a href="cn/XUL">XUL</a>的应用程序)所使用的一项安装扩展的技术. <a href="cn/XPI">XPI</a>安装模块是一个ZIP文件, 它包括一个位于根路径的安装脚本文件或者清单(符合规定格式的install.js或者<a href="cn/Install_Manifests">install.ref</a>)文件</div>
+
+<p>.</p>
+
+<table class="topicpage-table">
+ <tbody>
+ <tr>
+ <td>
+ <h4 id="Documentation" name="Documentation"><a>Documentation</a></h4>
+
+ <dl>
+ <dt><a href="cn/XPInstall_API_Reference">XPInstall API 参考</a></dt>
+ </dl>
+
+ <dl>
+ <dt><a href="cn/Learn_XPI_Installer_Scripting_by_Example">通过实例学习XPI安装脚本</a></dt>
+ <dd><small>This article uses the installer script from <code>browser.xpi</code> install package as the basis for discussing XPI installations in general. </small></dd>
+ <dd>这篇文章使用了取至于<code>browser.xpi</code>安装包中的安装脚本来讨论XPI安装的基本原理.</dd>
+ </dl>
+
+ <dl>
+ <dt><a href="cn/Creating_XPI_Installer_Modules">创建XPI安装模块</a></dt>
+ <dd><small>This article describes the packaging scheme of the Mozilla and offers a tutorial for creating a new package that can then be redistributed, installed, and made available to users. </small></dd>
+ <dd>这篇文件描述了Mozilla安装模块的打包方案, 并提供了一个关于创建一个新的可用来分发, 安装和用户可用的安装包的教程.</dd>
+ </dl>
+
+ <dl>
+ <dt><a href="cn/Install_Wizards_(aka/Stub_Installers)">安装向导 (aka: Stub Installers)</a></dt>
+ </dl>
+
+ <p><span class="alllinks"><a>View All...</a></span></p>
+ </td>
+ <td>
+ <h4 id="Community" name="Community">Community</h4>
+
+ <ul>
+ <li>View Mozilla forums...</li>
+ </ul>
+
+ <p></p><ul>
+ <li><a href="https://lists.mozilla.org/listinfo/dev-platform"> 邮件列表</a></li>
+
+
+ <li><a href="http://groups.google.com/group/mozilla.dev.platform"> 新闻组</a></li>
+ <li><a href="http://groups.google.com/group/mozilla.dev.platform/feeds"> Web feed</a></li>
+</ul><p></p>
+
+ <h4 id="Tools" name="Tools">Tools</h4>
+
+ <ul>
+ <li><a class="external" href="http://www.mozilla.org/quality/smartupdate/xpinstall-trigger.html">XPInstall trigger page</a></li>
+ </ul>
+
+ <h4 id="Related_Topics" name="Related_Topics">Related Topics</h4>
+
+ <dl>
+ <dd><a href="cn/Extensions">Extensions</a>, <a href="cn/XUL">XUL</a>, <a href="cn/XPI">XPI</a></dd>
+ </dl>
+ </td>
+ </tr>
+ </tbody>
+</table>
+
+<p><span class="comment">Categories</span></p>
+
+<p><span class="comment">Interwiki Language Links</span></p>
+
+<p> </p>
+
+<div class="noinclude"> </div>
+
+<p></p>