()
| 389 | * @returns Object with isInstalled boolean and the browser where the extension was found |
| 390 | */ |
| 391 | export async function isChromeExtensionInstalled(): Promise<boolean> { |
| 392 | const browserPaths = getAllBrowserDataPaths() |
| 393 | if (browserPaths.length === 0) { |
| 394 | logForDebugging( |
| 395 | `[Claude in Chrome] Unsupported platform for extension detection: ${getPlatform()}`, |
| 396 | ) |
| 397 | return false |
| 398 | } |
| 399 | return isChromeExtensionInstalledPortable(browserPaths, logForDebugging) |
| 400 | } |
| 401 |
no test coverage detected