MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / openAllowedExternalUrl

Function openAllowedExternalUrl

apps/desktop/src/main/index.ts:281–285  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

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

Callers 2

installNavigationGuardsFunction · 0.85
installAppMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected