2

Rather than cfx's --updateurl command, with jpm, we can simply place the updateURL in package.json. This URL points to a file called update.rdf, which tells self-hosted addons where to look for updates.

With cfx, that update.rdf file could be generated with the --updatelink, but that option has been removed from jpm. I can't figure out how to generate update.rdf using jpm. Any ideas?

willlma
  • 7,353
  • 2
  • 30
  • 45

1 Answers1

1

I've made 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

erikvold
  • 15,988
  • 11
  • 54
  • 98
  • Yeah, I just modified an update.rdf file I had created before using that link. Thanks for the answer. – willlma Apr 07 '15 at 20:02