Skip to content

Commit cb8ec37

Browse files
committed
fix: download binary on mac
1 parent dd3a438 commit cb8ec37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/local.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var exec = require('child_process').exec,
22
fs = require('fs'),
33
http = require('http'),
4-
windows = (process.platform.match(/win/) != null),
4+
windows = ((process.platform.match(/win32/) || process.platform.match(/win64/)) != null),
55
localBinary = __dirname + (windows ? '/BrowserStackTunnel.jar' : '/BrowserStackLocal'),
66
utils = require('./utils'),
77
config = require('./config');

0 commit comments

Comments
 (0)