d
This commit is contained in:
@@ -8,12 +8,12 @@ Public Class AppConfig
|
||||
Public Property LastMinecraftProfilePath As String
|
||||
Public Property LastConfigFilePath As String
|
||||
Public Property KeepLocalFiles As New List(Of String)
|
||||
Public Property RemoveLocalFiles As Boolean
|
||||
Public Property AllowRemoveLocalFiles As Boolean
|
||||
|
||||
Public Sub Reset()
|
||||
KeepLocalFiles.Clear()
|
||||
KeepLocalFiles.Add("OptiFine_1.7.10_HD_U_E7.jar")
|
||||
RemoveLocalFiles = False
|
||||
AllowRemoveLocalFiles = False
|
||||
End Sub
|
||||
|
||||
Public Shared ReadOnly Property Instance As AppConfig
|
||||
|
||||
@@ -82,7 +82,7 @@ Public Class Form1
|
||||
AddHandler updater.InstallProgessUpdated, AddressOf Update_InstallProgessUpdated
|
||||
AddHandler updater.CheckingProgressUpdated, AddressOf Updated_CheckingProgresssUpdated
|
||||
|
||||
Dim result As UpdateCheckResult = Await updater.CheckForUpdates(AppConfig.Instance.RemoveLocalFiles)
|
||||
Dim result As UpdateCheckResult = Await updater.CheckForUpdates(Not AppConfig.Instance.AllowRemoveLocalFiles)
|
||||
Dim everytingOk As Boolean = False
|
||||
|
||||
If result Is Nothing Then
|
||||
|
||||
Reference in New Issue
Block a user