| ... | @@ -577,11 +577,7 @@ function shouldEnableAutoUpdates(): boolean { | ... | @@ -577,11 +577,7 @@ function shouldEnableAutoUpdates(): boolean { |
| 577 | | 577 | |
| 578 | async function checkForUpdates(reason: string): Promise<void> { | 578 | async function checkForUpdates(reason: string): Promise<void> { |
| 579 | if (isQuitting || !updaterConfigured || updateCheckInFlight) return; | 579 | if (isQuitting || !updaterConfigured || updateCheckInFlight) return; |
| 580 | if ( | 580 | if (updateState.status === "downloading" || updateState.status === "downloaded") { |
| 581 | updateState.status === "downloading" || | | |
| 582 | updateState.status === "downloaded" || | | |
| 583 | updateState.status === "available" | | |
| 584 | ) { | | |
| 585 | console.info( | 581 | console.info( |
| 586 | `[desktop-updater] Skipping update check (${reason}) while status=${updateState.status}.`, | 582 | `[desktop-updater] Skipping update check (${reason}) while status=${updateState.status}.`, |
| 587 | ); | 583 | ); |