fix: typo (#131)

This commit is contained in:
Cuvii authored and GitHub committed 2023-03-25 17:31:24 +08:00
1 parent 6ff0dc59ed
commit 6432b5275c
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ export function update(win: Electron.BrowserWindow) {
function startDownload(
callback: (error: Error | null, info: ProgressInfo) => void,
complete: (evnet: UpdateDownloadedEvent) => void,
complete: (event: UpdateDownloadedEvent) => void,
) {
autoUpdater.on('download-progress', info => callback(null, info))
autoUpdater.on('error', error => callback(error, null))