diff --git a/src/index.tsx b/src/index.tsx index e18ecc875..4ce2fff5a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -57,8 +57,8 @@ reportWebVitals() if (isDesktop()) { // Listen for update download progress to begin // to show a loading toast. - window.electron.onUpdateDownloadStart(({ version }) => { - const message = `Downloading update (${version})...` + window.electron.onUpdateDownloadStart(() => { + const message = `Downloading app update...` console.log(message) toast.loading(message, { id: AUTO_UPDATER_TOAST_ID }) }) diff --git a/src/main.ts b/src/main.ts index 85c383eb7..7f8c9d614 100644 --- a/src/main.ts +++ b/src/main.ts @@ -271,7 +271,8 @@ app.on('ready', () => { }) autoUpdater.prependOnceListener('download-progress', (progress) => { - // For now, we'll send the version to the loading toast start. + // For now, we'll send nothing and just start a loading spinner. + // See below for a TODO to send progress data to the renderer. console.log('update-download-start', { version: '', })