v1.2.1
This commit is contained in:
@@ -1,16 +1,20 @@
|
||||
Imports System.IO
|
||||
|
||||
Imports Newtonsoft.Json
|
||||
Imports Newtonsoft.Json.Linq
|
||||
|
||||
Public Class AppConfig
|
||||
|
||||
Public Property LastMinecraftProfilePath As String
|
||||
Public Property LastConfigFilePath As String
|
||||
Public Property KeepLocalFiles As New List(Of String) From {
|
||||
"OptiFine_1.7.10_HD_U_E7.jar"
|
||||
}
|
||||
Public Property KeepLocalFiles As New List(Of String)
|
||||
Public Property RemoveLocalFiles As Boolean
|
||||
|
||||
Public Sub Reset()
|
||||
KeepLocalFiles.Clear()
|
||||
KeepLocalFiles.Add("OptiFine_1.7.10_HD_U_E7.jar")
|
||||
End Sub
|
||||
|
||||
Public Shared ReadOnly Property Instance As AppConfig
|
||||
Get
|
||||
Static myInstance As AppConfig = Nothing
|
||||
@@ -20,6 +24,7 @@ Public Class AppConfig
|
||||
myInstance = LoadConfig(SettingsPath)
|
||||
Else
|
||||
myInstance = New AppConfig
|
||||
myInstance.Reset()
|
||||
End If
|
||||
End If
|
||||
|
||||
|
||||
Reference in New Issue
Block a user