asamuzaK / withExEditorHost

Native messaging host for withExEditor
MIT License
33 stars 8 forks source link

Support LibreWolf #108

Closed OrionRandD closed 2 years ago

OrionRandD commented 2 years ago

My host stopped working:

Host Connection Disconnected Host Compatibility Incompatible. Upgrade the host to v7.0.0 or higher. Editor State Unknown

OrionRandD commented 2 years ago

My host stopped working:

Host Connection Disconnected Host Compatibility Incompatible. Upgrade the host to v7.0.0 or higher. Editor State Unknown

I have discovered that the problem is my browser -> librewolf -> https://librewolf-community.gitlab.io/ the Host was working with it 5 days ago. But, no more... Waterfox is working ok with the HOST Could you add support for librewolf? My prefered browser...

asamuzaK commented 2 years ago

If the host worked before, maybe upgrade wasn't done correctly?

Please tell me below. What is the OS? Which host you're using, binary or npm?

OrionRandD commented 2 years ago

If the host worked before, maybe upgrade wasn't done correctly? The upgrade was done correctly.... Please tell me below. What is the OS? Which host you're using, binary or npm? Debian an npm... The problem is in Librewolf.... It is working in Waterfox... That's why I asked you to add support for Librewolf... I do not know what happened. Because, Librewolf was working ok with withexeditor addon...

asamuzaK commented 2 years ago

Please try below and tell me the result. I'll add librewolf support if this works.

OrionRandD commented 2 years ago

I did not have this folder and file: $HOME/.librewolf/native-messaging-hosts/withexeditorhost.json Working now! :) Thx

On Sat, Nov 20, 2021 at 10:46 PM asamuzaK (Kazz) @.***> wrote:

Please try below and tell me the result. I'll add librewolf support if this works.

  • Close librewolf
  • Copy either $HOME/.mozilla/native-messaging-hosts/withexeditorhost.json or $HOME/.waterfox/native-messaging-hosts/withexeditorhost.json to $HOME/.librewolf/native-messaging-hosts/withexeditorhost.json
  • Restart librewolf

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/asamuzaK/withExEditorHost/issues/108#issuecomment-974740141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLPRKNZL6IRPMIYF6XXF23UNBFOPANCNFSM5IOCWWEA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

asamuzaK commented 2 years ago

Uploaded the test package v7.0.1-b4. Follow below.

OrionRandD commented 2 years ago

For some reason it is now working using the global path: /usr/lib/node_modules/withexeditorhost/ Thx a lot again...

On Sun, Nov 21, 2021 at 9:15 AM asamuzaK (Kazz) @.***> wrote:

Uploaded the test package v7.0.1-b4. Follow below.

  • Close librewolf
  • Install test package by npm i -g @.***
  • Move to npm global path and cd to withexeditorhost On linux, it should be $HOME/.npm-global/lib/node_modules/withexeditorhost/ If you can't find it there, check with npm root -g
  • Run npm run setup If you are prompt to overwrite withexeditorhost.json, answer y Enter editor path and command args
  • After setup is done, check the following
    • Open $HOME/.config/withexeditorhost/config/librewolf/ Make sure withexeditorhost.sh and editorconfig.json is in that directory
    • Open $HOME/.librewolf/native-messaging-host/withexeditorhost.json Make sure that the value of the path is pointing to withexeditorhost.sh

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/asamuzaK/withExEditorHost/issues/108#issuecomment-974806231, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLPRKNZIMGJCVTIE23NF2DUNDPFTANCNFSM5IOCWWEA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

asamuzaK commented 2 years ago

You're right, prefix is /usr/local/ on Linux. prefix Configuration

I'll close this.