Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use %ProgramW6432% path for 32-bit apps (#75)
Context: https://docs.microsoft.com/en-us/windows/win32/winprog64/wow64-implementation-details#environment-variables Use the `%ProgramW6432%` environment variable (if available) so that both **Prefer 32-bit**=false and **Prefer 32-bit**=true apps can get the path. Otherwise `Environment.SpecialFolder.ProgramFiles` returns `"C:\Program Files (x86)"` for 32-bit apps on 64-bit OS, which is not where the Android SDK is installed, and thus path lookup fails.
- Loading branch information