(extensionPath: string)
| 69 | } |
| 70 | |
| 71 | async function localExtensionExists(extensionPath: string): Promise<boolean> { |
| 72 | try { |
| 73 | const stat = await fsp.stat(path.join(extensionPath, 'package.json')) |
| 74 | return stat.isFile() |
| 75 | } catch { |
| 76 | return false |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | async function raycastAppInstalled(): Promise<boolean> { |
| 81 | if (process.platform !== 'darwin') return false |
no outgoing calls
no test coverage detected