@@ -86,11 +86,11 @@ console.log(process.arch);
86
86
if ( process . platform === "win32" && process . arch === "ia32" ) {
87
87
driverPath = path . join ( __dirname , "chrome_win32/chromedriver_win32.exe" ) ;
88
88
chromeBinaryPath = path . join ( __dirname , "chrome_win32/chrome.exe" ) ;
89
- execute_path = path . join ( __dirname , "chrome_win32/execute .bat" ) ;
89
+ execute_path = path . join ( __dirname , "chrome_win32/execute_win32 .bat" ) ;
90
90
} else if ( process . platform === "win32" && process . arch === "x64" ) {
91
91
driverPath = path . join ( __dirname , "chrome_win64/chromedriver_win64.exe" ) ;
92
92
chromeBinaryPath = path . join ( __dirname , "chrome_win64/chrome.exe" ) ;
93
- execute_path = path . join ( __dirname , "chrome_win64/execute .bat" ) ;
93
+ execute_path = path . join ( __dirname , "chrome_win64/execute_win64 .bat" ) ;
94
94
} else if ( process . platform === "darwin" ) {
95
95
driverPath = path . join ( __dirname , "chromedriver_mac64" ) ;
96
96
chromeBinaryPath = path . join (
@@ -101,7 +101,7 @@ if (process.platform === "win32" && process.arch === "ia32") {
101
101
} else if ( process . platform === "linux" ) {
102
102
driverPath = path . join ( __dirname , "chrome_linux64/chromedriver_linux64" ) ;
103
103
chromeBinaryPath = path . join ( __dirname , "chrome_linux64/chrome" ) ;
104
- execute_path = path . join ( __dirname , "chrome_linux64/execute .sh" ) ;
104
+ execute_path = path . join ( __dirname , "chrome_linux64/execute_linux64 .sh" ) ;
105
105
}
106
106
console . log ( driverPath , chromeBinaryPath , execute_path ) ;
107
107
let language = "en" ;
0 commit comments