install: remove legacy code

This commit is contained in:
2024-06-17 18:01:32 +02:00
parent 99b1db952b
commit a4d5fff876
7 changed files with 124 additions and 306 deletions

View File

@@ -2,9 +2,6 @@
Public Class UpdateCheckResult
Public Property IsLegacy As Boolean
Public ReadOnly Property SyncFiles As New List(Of UpdateSyncFile)
Public Property CurrentVersion As Version
Public Property LatestVersion As Version
Public ReadOnly Property UpdateActions As New List(Of UpdateAction)
@@ -12,11 +9,7 @@ Public Class UpdateCheckResult
Public ReadOnly Property HasUpdates As Boolean
Get
If IsLegacy Then
Return SyncFiles.Where(Function(n) n.SyncAction <> UpdateSyncAction.None).Any
Else
Return CurrentVersion < LatestVersion
End If
Return CurrentVersion < LatestVersion
End Get
End Property