fix(firefox): fix executablePath() on OSX (#4105)
OSX might have case-sensitive partitions, so make sure we're precise. Fix #4102
This commit is contained in:
parent
c9f6a3d064
commit
bc28f3b3dc
@ -206,7 +206,7 @@ class BrowserFetcher {
|
||||
throw new Error('Unsupported platform: ' + this._platform);
|
||||
} else if (this._product === 'firefox') {
|
||||
if (this._platform === 'mac')
|
||||
executablePath = path.join(folderPath, 'firefox', 'Nightly.app', 'Contents', 'MacOS', 'Firefox');
|
||||
executablePath = path.join(folderPath, 'firefox', 'Nightly.app', 'Contents', 'MacOS', 'firefox');
|
||||
else if (this._platform === 'linux')
|
||||
executablePath = path.join(folderPath, 'firefox', 'firefox');
|
||||
else if (this._platform === 'win32' || this._platform === 'win64')
|
||||
|
Loading…
Reference in New Issue
Block a user