Use manual join instead of path.join

This commit is contained in:
Saebekassebil 2012-08-26 13:23:26 +02:00
parent b96152b19a
commit 1548676f56

View File

@ -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