We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de9a3eb commit 537a742Copy full SHA for 537a742
src/MaximizeToVirtualDesktop/TrayApplication.cs
@@ -194,7 +194,7 @@ private async Task CheckForUpdatesAsync(bool userInitiated = false)
194
{
195
try
196
197
- if (!userInitiated) await Task.Delay(3000);
+ if (!userInitiated) await Task.Delay(5000);
198
199
var updateFound = await Updater.CheckForUpdatesAsync();
200
@@ -220,7 +220,7 @@ private async Task CheckForUpdatesAsync(bool userInitiated = false)
220
221
await Updater.InstallUpdateAsync(asset);
222
}
223
- else
+ else if (userInitiated)
224
225
MessageBox.Show("Failed to download the update.", "Update Error",
226
MessageBoxButtons.OK, MessageBoxIcon.Error);
0 commit comments