New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure extension installs permanently for Firefox #656
Comments
@timstackblock can you confirm the same behavior on your end here? |
@markmhx Is this with the latest refactored extension version that is in test or the prod extension version? |
Prod extension version |
Yup that one is broken your videos are exactly what I was seeing. It should be fixed in the executable on @hstove latest PR, not sure if its merged into master yet. |
I'm getting the following @timstackblock mind seeing if you can recreate from source?
|
@markmhx when did stacks.js get merged into the connect master branch without passing through QA stacks.js was only tested on the devX side in the TODOs app and the CLI this was never tested with connect or the authenticator for any build that came through the UX team. I am pretty sure thats why we have errors on that branch. |
Looks like #624 was merged on Monday, I definitely didn't QA this on Monday before the merge, I can take a look now. |
@hstove to provide latest command guidance |
You need to run |
@hstove the above command doesn't appear to generate a |
Correct - the above command must be run first, and then run |
I was able to install from source for Firefox and authenticate successfully with the modified instructions provided by @hstove above:
However, I still can't use the "Install Add-on from file" option to install the extension permanently (it shows the same "appears to be corrupt error if I zip the @hstove ideas on how to install the extension permanently from source for Firefox here? |
I tried the above instructions for building the extension on a new device but ran into a lerna error when running inside
@hstove any ideas? |
|
Hey - did some looking into this. In order to permanently install an extension in Firefox, the extension has to be signed. Fortunately, this is not too tricky - Mozilla provides a nice CLI. #703 added a new Github Action that creates this signed extension (called an This is actually the first step towards self-hosting - as that |
Sounds great. Does this change require any updates to the build and install instructions re: #700? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed. Please reopen if needed. |
The extension install instructions indicate that the user should use the "Load Temporary Add-on…" option in Firefox to install the extension from source. However, this appears to result in the extension getting removed automatically upon reload of Firefox each time.
If I alternatively try to use the "Install Add-on from file" option, it doesn't recognize any of the files for selection:
If I try to zip the "dist" folder and upload, it says it's corrupt:
Furthermore, before restarting Firefox, Blockstack apps don't appear to detect the extension during authentication anyway. I'm still getting redirected to the hosted version where I'm prompted to "Get the Firefox extension":
The text was updated successfully, but these errors were encountered: