Skip to content

Commit 8f5d7a3

Browse files
authored
Update main.js about execute.bat name
1 parent ee4a077 commit 8f5d7a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ElectronJS/main.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ console.log(process.arch);
8686
if (process.platform === "win32" && process.arch === "ia32") {
8787
driverPath = path.join(__dirname, "chrome_win32/chromedriver_win32.exe");
8888
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");
9090
} else if (process.platform === "win32" && process.arch === "x64") {
9191
driverPath = path.join(__dirname, "chrome_win64/chromedriver_win64.exe");
9292
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");
9494
} else if (process.platform === "darwin") {
9595
driverPath = path.join(__dirname, "chromedriver_mac64");
9696
chromeBinaryPath = path.join(
@@ -101,7 +101,7 @@ if (process.platform === "win32" && process.arch === "ia32") {
101101
} else if (process.platform === "linux") {
102102
driverPath = path.join(__dirname, "chrome_linux64/chromedriver_linux64");
103103
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");
105105
}
106106
console.log(driverPath, chromeBinaryPath, execute_path);
107107
let language = "en";

0 commit comments

Comments
 (0)