zserge / lorca

Build cross-platform modern desktop apps in Go + HTML5
MIT License
8.04k stars 535 forks source link

Look for chrome in different paths depending on OS #37

Closed erizocosmico closed 5 years ago

erizocosmico commented 5 years ago

This changes the common slice of paths so in certain operating systems it can avoid looking for a lot of paths that will never be available, such as Windows. This should speed up finding the binary on Windows and macOS.