Closed koalixCZ closed 4 years ago
It seems to be a problem or enhancement for Launchpad where the following code is used in general:
var programFiles = os.arch() === "x64" ? process.env["ProgramFiles(x86)"] : process.env.ProgramFiles;
This is fixed in https://github.com/bitovi/launchpad/releases/tag/v0.7.3 cc @koalixCZ
Firefox default location is C:\Program Files (x86)\Mozilla Firefox\firefox.exe, but the 64 bit version is installed in C:\Program Files\Mozilla Firefox\firefox.exe.
The solution may be to add support for next possible default location, but generally, it seems to be common to have installed more browser versions for testing purposes and in this case looks the simpliest solution to try use binary from the system path.
Found in tests of npm FuncUnit 3.7.0