Make the loading toast not attempt to display a version number

This commit is contained in:
Frank Noirot
2024-10-03 14:19:24 -04:00
parent 14cc08e187
commit 23aa06b486
2 changed files with 4 additions and 3 deletions

View File

@ -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 })
})