(executablePath: string)
| 232 | const DESKTOP_APP_BUNDLE_IDENTIFIER = "sh.executor.desktop"; |
| 233 | |
| 234 | const enclosingAppBundlePath = (executablePath: string): string | null => { |
| 235 | const match = executablePath.match(/^(.*\.app)\/Contents\//); |
| 236 | return match?.[1] ?? null; |
| 237 | }; |
| 238 | |
| 239 | const readBundleIdentifier = (appBundlePath: string): string | null => { |
| 240 | try { |
no outgoing calls
no test coverage detected