2
0
Эх сурвалжийг харах

also check for macOS binary defaults

Nick Sweeting 6 жил өмнө
parent
commit
a74d8410f4
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      archivebox/config.py

+ 3 - 0
archivebox/config.py

@@ -73,6 +73,9 @@ if not CHROME_BINARY:
         'google-chrome-beta',
         'google-chrome-canary',
         'google-chrome-dev',
+        '/Applications/Chromium.app/Contents/MacOS/Chromium',
+        '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
+        '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary',
     )
     for name in common_chrome_executable_names:
         full_path_exists = shutil.which(name)