Use manual join instead of path.join
This commit is contained in:
parent
b96152b19a
commit
1548676f56
2
make.js
2
make.js
@ -607,7 +607,7 @@ target.chrome = function() {
|
||||
|
||||
// If we're on a Darwin (Mac) OS, then let's check for an .app path
|
||||
if (process.platform === 'darwin' && executable.indexOf('.app') !== -1) {
|
||||
executable = path.join(executable, 'Contents', 'MacOS', 'Google Chrome');
|
||||
executable = executable + '/Contents/MacOS/Google Chrome');
|
||||
}
|
||||
|
||||
// If the chrome executable doesn't exist
|
||||
|
Loading…
Reference in New Issue
Block a user