asamuzaK / withExEditorHost

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

message about v.5.4.2 still showing #85

Closed Li-An closed 4 years ago

Li-An commented 4 years ago

Hello, I copied all files from v.4.5.2 in withExEditorHost directory but it stills shows a warning in browser.

asamuzaK commented 4 years ago

More info please. OS, browser, and I suppose you are talking about binary?

Li-An commented 4 years ago

Sorry. Cent Browser (Chrome), Win 10 64 bits. I’m not sure I understand binary but I downloaded the zip package here.

asamuzaK commented 4 years ago

I found an issue you posted before. https://github.com/asamuzaK/withExEditorHost/issues/60

In that thread, you said that you switched to npm. Did you switch back again?

If you are still using npm, exec cmd.exe and run npm up -g

Li-An commented 4 years ago

I cannot remember. How can I check this ?

asamuzaK commented 4 years ago

Content of withexeditor.cmd should be

@echo off
[cmd] [file]

If [cmd] is "C:\Program Files\nodejs\node.exe" or something like that, and [file] is C:\Users\[YOUR_USER_NAME]\AppData\Roaming\npm\node_modules\withexeditorhost\index.js, then you are using npm.

If [cmd] is a path to the binary you saved, for example C:\Users\[YOUR_USER_NAME]\withExEditor\index.exe, and [file] is C:\Users\[YOUR_USER_NAME]\withExEditor\index.js, then you are using binary.

Li-An commented 4 years ago

Thanks : I use binary.

asamuzaK commented 4 years ago

I've installed Cent browser, but could not confirm the issue.

Does it echo 5.4.2?

Li-An commented 4 years ago

If I type cd C:\Users\Seven\path\to\withExEditorHost I have a not found message. I made a search on my profile and found one directory that can be the good one C:\Users\Seven\AppData\Local\withExEditorHost

If I type index -v, a prompt asks me to open a file and then see capture

7121942ccdba19f6b5547cc0e1341142.md.png

asamuzaK commented 4 years ago

Looks like a log of VS Code? I'm not sure though.

Anyway, I think you should install host again.

Li-An commented 4 years ago

You are right, the prompt makes me open the file in VS Code. OK, I will try to install it again.

Li-An commented 4 years ago

I reinstalled it and it’s OK.