Fixed Issue #8 - Crash when Filtration cannot perform the update check on startup
This commit is contained in:
parent
58de6f06b9
commit
dc157713f3
|
@ -217,10 +217,10 @@ namespace Filtration.ViewModels
|
|||
{
|
||||
var assemblyVersion = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location);
|
||||
|
||||
var result = await _updateCheckService.GetUpdateData();
|
||||
|
||||
try
|
||||
{
|
||||
var result = await _updateCheckService.GetUpdateData();
|
||||
|
||||
if (result.LatestVersionMajorPart >= assemblyVersion.FileMajorPart &&
|
||||
result.LatestVersionMinorPart > assemblyVersion.FileMinorPart)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue