I already know the way to temporarily install an add-on for debugging. However, I want to install it persistently. I do not want to upload it to AMO, because I've developed it for use by myself only.
How do I install it on Firefox Nightly?
Browser: Firefox Nightly 56a1
OS: macOS 10.12.5
Edit
I attempted Andrew's way while referring to Getting started with firefox-addon, but an error occurred (This add-on could not be installed because it appears to be corrupt.
), despite that temporary installation was successful.
Why did installation fail only when installing it from Install Add-on from File...
?
Source code is here https://github.com/KiYugadgeter/webext
Edit2:
The following is Error message on browser console.
1497764354857 addons.xpi WARN Invalid XPI: Error: Cannot find id for
addon /
Users/username/jsworks/webextensions/stacknotifier/something.xpi (resource://gre/modules/addons/XPIInstall.jsm:1642:17) JS Stack trace: [email protected]:1642:17 <
async*[email protected]:2122:13 < async*[email protected]:4820:12 < [email protected]:3437:5 < [email protected]:297:12 <
promiseCallProvider/<@AddonManager.jsm:321:53 < [email protected]:390:5 <
[email protected]:320:10 < getInstallForFile/<@AddonManager.jsm:1856:29
< async*[email protected]:1854:13 < [email protected]:
3560:7 < doCommand/<@extensions.js:1472:13
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.hostPort]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/PopupNotifications.jsm :: PopupNotifications_refreshPanel/< :: line 806" data: no]