(url: string)
| 279 | } |
| 280 | |
| 281 | function openAllowedExternalUrl(url: string): void { |
| 282 | if (/^(https?:|mailto:)/i.test(url)) { |
| 283 | shell.openExternal(url).catch(() => {}) |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | function registerAppDeepLinkProtocol(): void { |
| 288 | if (!isMac()) return |
no outgoing calls
no test coverage detected