(text: string)
| 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 |
no test coverage detected