install: rework ModpackInstaller (incomplete)

This commit is contained in:
2024-06-17 18:30:57 +02:00
parent a4d5fff876
commit 9c43055580
6 changed files with 95 additions and 53 deletions

View File

@@ -4,12 +4,13 @@ Public Class UpdateCheckResult
Public Property CurrentVersion As Version
Public Property LatestVersion As Version
Public ReadOnly Property UpdateActions As New List(Of UpdateAction)
Public ReadOnly Property Actions As New List(Of InstallAction)
Public Property IsInstalled As Boolean
Public Property HasError As Boolean
Public ReadOnly Property HasUpdates As Boolean
Get
Return CurrentVersion < LatestVersion
Return Not IsInstalled OrElse CurrentVersion < LatestVersion
End Get
End Property