Commit e0850dab authored by gookyn's avatar gookyn

fix(openai-auth.ts): fix the default chrome path of windows

#112
parent ad042d89
......@@ -208,7 +208,7 @@ export async function getBrowser(launchOptions?: PuppeteerLaunchOptions) {
export const defaultChromeExecutablePath = (): string => {
switch (os.platform()) {
case 'win32':
return 'C:\\ProgramFiles\\Google\\Chrome\\Application\\chrome.exe'
return 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe'
case 'darwin':
return '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment