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

Function onInstall

packages/app-core/src/components/SettingsModal.tsx:4934–4945  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4932 }, [refresh])
4933
4934 const onInstall = async (): Promise<void> => {
4935 setBusy(true)
4936 setError(null)
4937 try {
4938 await window.zen.cliInstall()
4939 await refresh()
4940 } catch (err) {
4941 setError((err as Error).message)
4942 } finally {
4943 setBusy(false)
4944 }
4945 }
4946
4947 const onUninstall = async (): Promise<void> => {
4948 setBusy(true)

Callers 3

CliSettingsFunction · 0.85
RaycastExtensionSettingsFunction · 0.85
McpSettingsFunction · 0.85

Calls 4

cliInstallMethod · 0.80
raycastInstallMethod · 0.80
mcpInstallMethod · 0.80
refreshFunction · 0.70

Tested by

no test coverage detected