MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / cft_binary_location

Function cft_binary_location

scripts/deps/fix_cft_permissions.py:18–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17
18def cft_binary_location():
19 if sys.platform == 'linux':
20 return 'third_party/chrome/chrome-linux/chrome-linux64/chrome'
21 elif sys.platform == 'darwin':
22 arch = 'arm64' if platform.processor().startswith('arm') else 'x64'
23 return f'third_party/chrome/chrome-mac-{arch}/chrome-mac-{arch}/Google Chrome for Testing.app/Contents'
24 elif sys.platform == 'win32':
25 return 'third_party/chrome/chrome-win/chrome-win64/chrome.exe'
26
27
28def handleAccessDeniedOnWindows(func, path, exc):

Callers 1

fix_permissionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected