Update WebExtension provided as .xpi file


(Michael Vidrevich) #1

Hello
I’m trying to deliver my WebExtension by standalone installation program
According to https://developer.mozilla.org/en-US/Add-ons/Installing_extensions i can just put an .xpi file into “%appdata%\Mozilla\Extensions{ec8030f7-c20a-464f-9b0e-13a3a9e97384}” and browser will get it when started.
It works just fine when clean install. But in case i need to upgrade to the next version of extension the replacing does not work: browser does not recognize the change
Is there any way to cause browser re-load/re-read extension information?
I tried the following scenarion: remove old xpi, open browser, close browser, put new xpi. It resolves the issue, but i cannot use that scenario in real life

Thanks in advance,
Michael