MCPcopy Create free account
hub / github.com/CapSoftware/Cap / maybeHideCurrentWindow

Function maybeHideCurrentWindow

apps/desktop/src/utils/importMedia.ts:34–36  ·  view source on GitHub ↗
(options?: ImportOptions)

Source from the content-addressed store, hash-verified

32 typeof result === "string" ? result : null;
33
34const maybeHideCurrentWindow = async (options?: ImportOptions) => {
35 if (options?.hideCurrentWindow) await getCurrentWindow().hide();
36};
37
38export const importVideoPath = async (
39 sourcePath: string,

Callers 2

importVideoPathFunction · 0.85
importImagePathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected