From 7b187c421f95f7523fd5c3d9a7af3f365c47e218 Mon Sep 17 00:00:00 2001 From: withyellow Date: Sat, 25 Mar 2023 16:24:24 +0800 Subject: [PATCH] fix: typo --- electron/main/update.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/main/update.ts b/electron/main/update.ts index 473671c..759f086 100644 --- a/electron/main/update.ts +++ b/electron/main/update.ts @@ -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))