mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Use manual join instead of path.join
This commit is contained in:
parent
b96152b19a
commit
1548676f56
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue