MCPcopy
hub / github.com/ZToolsCenter/ZTools / updateProgressText

Method updateProgressText

src/main/core/ffmpeg.ts:326–332  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

324 }
325
326 private updateProgressText(text: string): void {
327 this.downloadWindow?.webContents
328 .executeJavaScript(
329 `if (window.downloadProgressText) window.downloadProgressText(${JSON.stringify(text)})`
330 )
331 .catch(() => {})
332 }
333
334 private showError(message: string): void {
335 this.downloadWindow?.webContents

Callers 2

downloadAndInstallMethod · 0.95
streamDownloadMethod · 0.95

Calls 1

stringifyMethod · 0.80

Tested by

no test coverage detected