check OS platform beforehand, so we dont do unnecessary work
MODIFY
WalletWasabi/Services/UpdateManager.cs
WalletWasabi/Services/UpdateManager.cs
@@ -32,11 +32,20 @@ public class UpdateManager : IDisposable
var tries = 0;
bool updateAvailable = !updateStatus.ClientUpToDate || !updateStatus.BackendCompatible;
Version targetVersion = updateStatus.ClientVersion;
+
if (!updateAvailable)
{
Cleanup();
return;
}
+
+ if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
+ {
+ Logger.LogInfo("For Linux, get the correct update manually.");
+ Cleanup();
+ return;
+ }
+
if (DownloadNewVersion)
{
do
@@ -56,11 +65,6 @@ public class UpdateManager : IDisposable
Logger.LogTrace($"Getting new update was canceled.", ex);
break;
}
- catch (InvalidOperationException ex)
- {
- Logger.LogInfo("Getting new update failed with error.", ex);
- break;
- }
catch (Exception ex)
{
Logger.LogError($"Getting new update failed with error.", ex);

check OS platform beforehand, so we dont do unnecessary work