Skip to content

Commit ba1cf54

Browse files
committed
bug fix og not work for chrome 64bit
1 parent 322bca8 commit ba1cf54

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

util/options.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import chrome from "chrome-aws-lambda";
22
const exePath =
33
process.platform === "win32"
44
? process.arch === "x64" // add additional check to see if win is 64 or 32 bit
5-
? "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"
6-
: "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
5+
? "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
6+
: "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"
77
: process.platform === "linux"
88
? "/usr/bin/chromium-browser"
99
: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome";

0 commit comments

Comments
 (0)