如何用jpm生成update.rdf

How to generate update.rdf with jpm

而不是 cfx's --updateurl command, with jpm, we can simply place the updateURL in package.json。这个 URL 指向一个名为 update.rdf 的文件,它告诉自托管插件在哪里寻找更新。

使用 cfx,可以使用 --updatelink 生成 update.rdf 文件,但该选项 has been removed from jpm。我不知道如何使用 jpm 生成 update.rdf。有什么想法吗?

我做了issue 288 for this, in the meantime you will need to follow these instructions to learn how to build the update.rdf yourself https://developer.mozilla.org/en-US/docs/Extension_Versioning,_Update_and_Compatibility#Update_RDF_Format