与Firefox移动(Fennec)捆绑插件 [英] Bundle Addons with Firefox Mobile (Fennec)

查看:141
本文介绍了与Firefox移动(Fennec)捆绑插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用Firefox Mobile(Fennec)为Android捆绑插件?

我想在构建过程中包含几个附加组件,用户可以立即开始使用它们。
我搜索了Mozilla Wiki,找不到任何相关的信息。

解决方案

我找到了答案:


要在本地创建一个发布版本,请将您的发布文件夹
放在objdir / dist / bin / distribution中,然后像通常
那样打包应用程序。分发文件将被复制到
/data/data/org.mozilla.fennec_yourname/distribution,如果
存在,它们将覆盖系统分发。



附件不需要在任何文件中列出。相反,如下所示将它们包含在
扩展目录中,它们将被自动加载:
$ b


  • 分配/ *扩展/

    • someaddon@somedomain.com.xpi

    • ...



https://wiki.mozilla.org/Mobile/Distribution_Files#Add-ons


How to Bundle Addons with Firefox Mobile (Fennec) for Android ?
I would like to include several add-ons on the build process in a away that users could start using them immediately.
I've searched Mozilla Wiki and couldn't find any relevant information about this. tks.

解决方案

I've found the answer:

To create a distribution build locally, put your distribution folder at objdir/dist/bin/distribution, then package the app as you normally would. The distribution files will be copied out to /data/data/org.mozilla.fennec_yourname/distribution, and they will override a system distribution if it is present.

Add-ons do no need to be listed in any file. Instead, include them in an extensions directory as follows, and they will be automatically loaded:

  • distribution/ * extensions/
    • someaddon@somedomain.com.xpi
    • ...

https://wiki.mozilla.org/Mobile/Distribution_Files#Add-ons

这篇关于与Firefox移动(Fennec)捆绑插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆