kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
Merge pull request #134 from gookyn/main
commit
a9748e0819
|
@ -208,7 +208,7 @@ export async function getBrowser(launchOptions?: PuppeteerLaunchOptions) {
|
||||||
export const defaultChromeExecutablePath = (): string => {
|
export const defaultChromeExecutablePath = (): string => {
|
||||||
switch (os.platform()) {
|
switch (os.platform()) {
|
||||||
case 'win32':
|
case 'win32':
|
||||||
return 'C:\\ProgramFiles\\Google\\Chrome\\Application\\chrome.exe'
|
return 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe'
|
||||||
|
|
||||||
case 'darwin':
|
case 'darwin':
|
||||||
return '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
|
return '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
|
||||||
|
|
Ładowanie…
Reference in New Issue