1 parent
6ef956d5ef
commit
1b5b326aa6
4 files changed
+4
-4
No files matched your search
@@ -63,7 +63,7 @@ export function update(win: Electron.BrowserWindow) {
|
||||
}
|
||||
|
||||
function startDownload(
|
||||
callback: (error: Error | null, info: ProgressInfo) => void,
|
||||
callback: (error: Error | null, info: ProgressInfo | null) => void,
|
||||
complete: (event: UpdateDownloadedEvent) => void,
|
||||
) {
|
||||
autoUpdater.on('download-progress', info => callback(null, info))
|
||||
|
||||
Reference in new issue
Block a user