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
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<ApplicationIcon>icons8_download_from_ftp.ico</ApplicationIcon>
|
||||
<AssemblyName>Minecraft Modpack Updater</AssemblyName>
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<Version>1.2.0.0</Version>
|
||||
<Version>1.2.1.0</Version>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
||||
Reference in New Issue
Block a user