Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Was Edge installation removed? #37

Closed
farzadmf opened this issue Jul 1, 2021 · 3 comments
Closed

Was Edge installation removed? #37

farzadmf opened this issue Jul 1, 2021 · 3 comments

Comments

@farzadmf
Copy link
Contributor

farzadmf commented Jul 1, 2021

Hi @samhh

I recently noticed that, for some reason, my Edge (Dev Channel) on Linux has stopped working and is giving me an error:
image

I decided to re-install it, but when I do bukubrow --help, I don't see the Edge option anymore 🤔

bukubrow 5.2.0
Sam A. Horvath-Hunt
Bukubrow native messaging host installer

USAGE:
    bukubrow [FLAGS] [OPTIONS]

FLAGS:
    -h, --help                Prints help information
        --install-brave       Install the native messaging host for Brave
        --install-chrome      Install the native messaging host for Chrome
        --install-chromium    Install the native messaging host for Chromium
        --install-firefox     Install the native messaging host for Firefox
        --install-vivaldi     Install the native messaging host for Vivaldi
    -l, --list                Print all bookmarks in a list to stdout
    -V, --version             Prints version information

OPTIONS:
    -o, --open <ID[,ID]>    Open bookmark(s) in the browser by ID

And the output of bukubrow --version is bukubrow 5.2.0

So, I had a couple of questions for you:

  • Where is the --install-edge option? 🙂
  • When I see an error in the extension, how can I debug it? (sorry, I think this is a question more related to Chrome Extensions rather than bukubrow, but I'd appreciate if you help 🙏 )
@samhh
Copy link
Owner

samhh commented Jul 1, 2021

Hey there!

Looking at master it looks like this hasn't made it into a release yet. I'll see about preparing a 5.3.0 release shortly.

It's a bit confusing that the README on master doesn't match the latest release, we could consider adopting a master/develop approach as I do with fp-ts-std.

As for debugging, for this WebExtension at least there are two places to debug. The first is the popup itself, where the dev tools can be accessed by right-clicking the icon and hitting "inspect pop-up". The second is the background script which if memory serves handles communication with the host. For that one you'll want to go to chrome://extensions and hit "[Inspect views] background page" on the relevant extension.

The "unknown error" vagueness is something I hope to improve upon, though that's probably dependent upon me rediscovering the energy to work on the PureScript port of the extension (purescript branch in the other repo).

@samhh
Copy link
Owner

samhh commented Jul 1, 2021

5.3.0 released: https://github.com/samhh/bukubrow-host/releases/tag/v5.3.0

Both AUR packages are also updated.

@samhh samhh closed this as completed Jul 1, 2021
@farzadmf
Copy link
Contributor Author

farzadmf commented Jul 1, 2021

Thank you very much @samhh for the very useful tips on how to debug stuff

And I used the new version to re-install on Edge and now it's working fine 🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants