jlebon / textern

A Firefox add-on for editing text in your favourite external editor!
GNU General Public License v3.0
138 stars 21 forks source link

Installation does not work in macOS Mojave #49

Open happysundar opened 5 years ago

happysundar commented 5 years ago

Hi,

I'm getting the following error in macOS Mojave when I do a make native-install:

10:03 $ sed -e 's|@@NATIVE_PATH@@|/usr/local/libexec/textern/textern.py|' native/textern.json.in > native/textern.json
bash: native/textern.json: Permission denied

I think the issue is that /usr/lib64/mozilla/native-messaging-hosts or /usr/local/lib64/mozilla/native-messaging-hosts cannot be created in macOS.

What should this directory be for macOS?

I can submit a PR - please let me know.

jlebon commented 5 years ago

Textern currently only works on Linux. There is an open patch (#46) to add support for OSX which you may find useful.