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

Function writeInstallMarker

apps/desktop/src/main/raycast-integration.ts:321–334  ·  view source on GitHub ↗
(extensionPath: string, version: string)

Source from the content-addressed store, hash-verified

319}
320
321async function writeInstallMarker(extensionPath: string, version: string): Promise<void> {
322 await fsp.writeFile(
323 path.join(extensionPath, INSTALL_MARKER),
324 JSON.stringify(
325 {
326 version,
327 installedAt: new Date().toISOString()
328 },
329 null,
330 2
331 ) + '\n',
332 'utf8'
333 )
334}
335
336async function runCommand(
337 command: string,

Callers 1

installRaycastExtensionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected