asamuzaK / withExEditorHost

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

Setup: Editor-path only in 8.3 style? #100

Closed Pierre-de-la-Verre closed 3 years ago

Pierre-de-la-Verre commented 3 years ago

Win 10 64 German, FF85 I tried to enter the editor path and got this:

Input editor path: "C:\Program Files\Notepad++"
"C:\Program Files\Notepad++" is not executable.
Input editor path: "C:\Program Files\Notepad++\"
"C:\Program Files\Notepad++" is not executable.
Input editor path: "C:\Programme\Notepad++\notepad++.exe"
"C:\Programme\Notepad++\notepad++.exe" is not executable.
Input editor path: "C:\Program Files\Notepad++\notepad++.exe"
"C:\Program Files\Notepad++\notepad++.exe" is not executable.
Input editor path: C:\PROGRA~1\NOTEPA~1\NOTEPA~1.EXE

I tried it with pure path (with and without trailing backslash), with quoted path+file in German ("Programme") and English ("Program Files") - and failed all the times. Only the pure 8.3-style was accepted. Is this by intention?

asamuzaK commented 3 years ago
Input editor path: C:\Program Files\Notepad++\notepad++.exe

Please try again without quotes.

asamuzaK commented 3 years ago

Still in trouble?

Pierre-de-la-Verre commented 3 years ago

It did not change on this special PC. Another colleagues told me that on other PCs is works fine - although the first two infos (Host compatibility and..?? - I don't know, I'm not on this PC at the moment ...) are both on "incompatible"... It will be further watched by my colleague ..

asamuzaK commented 3 years ago

I installed notepad++ and tested myself. C:\Program Files\Notepad++\notepad++.exe works fine for me.

asamuzaK commented 3 years ago

I made the warning message a little more detailed. Try using the pre-release version.

If you are using binary, download from Release v6.1.0-a.1

Or, if you are using npm version, run below.

npm i -g withexeditorhost@next
Pierre-de-la-Verre commented 3 years ago

Thanks, works fine for me. On the problematic PC, mentioned above, we will see what will be done by my colleagues.