Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library won't search for 64 bit Chrome if called from 32 bit application #159

Open
cgostuff opened this issue Sep 20, 2021 · 0 comments
Open

Comments

@cgostuff
Copy link

cgostuff commented Sep 20, 2021

Both os.Getenv("ProgramFiles") and os.Getenv("ProgramFiles(x86)") point to Program Files (x86) when this is being run in a 32 bit application. Therefore when being run as a 32 bit app, Lorca fails to locate chrome for users who have only installed a 64 bit version in C:\Program Files. Can this be considered a bug, or is it correct to only look for both when being run from a 64 bit app? When looking at the code in locate.go, it seems like the intention was to search in both Program Files and Program Files (x86), but this won't happen when both environment variables point to x86.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant