vscode-vite
vscode-vite copied to clipboard
Embedded browser doesn't open
After clicking the vite
button at bottom status bar, I clicked on open with embedded browser and it showed error as shown in image below:

Have you installed Chrome?
@antfu I have chrome installed.
@antfu I have chrome installed.
Hi, @ashishbinu I've got the same issue here, but already solved by manually add a chrome path on the extension setting, see attached screenshot below.
Yeah , It worked but shouldn't it work without giving the path. Whoever is gonna install it in linux might not have it working when they run it.
If you find a way to cover your cases to do the auto-detection, I am more than happy to receive contributions to that.
https://github.com/antfu/vscode-browse-lite/blob/2995249e7332675ff3e719a8b0a9567cfcb7dd39/src/BrowserClient.ts#L69-L82