SudoKillMe / vscode-extensions-open-in-browser

81 stars 42 forks source link

Support for arch-like Linux distros missing #89

Open JOJ0 opened 1 year ago

JOJ0 commented 1 year ago

Hi, from reading the post referenced below and the context around it in the containing issue's discussion, it seems like this extension does not support arch-like distros. Do you think you could add support for it? I'm not 100% sure but I think this message and some others in that thread might give a clue how it's done:

Same issue. The solution is simple. Find the name of the exec command, for google chrome in arch linux is google-chrome-stable. Edit the command name in ~/.vscode/extensions/techer.open-in-browser-2.0.0/out/config.js. Change google-chrome to google-chrome-stable. Reload vscode. As reference in the repo out/config.js

Originally posted by @ghost in https://github.com/SudoKillMe/vscode-extensions-open-in-browser/issues/28#issuecomment-425792433

My uneducated guess is that the binary called google-chrome-stable is just not supported from your extension. Could that be right?

Thanks so much for a nice extension and hope that helped :-)