This commit is contained in:
2023-02-20 17:25:26 +01:00
parent fa9bb19e79
commit ad18e33a6b
2 changed files with 9 additions and 4 deletions

View File

@@ -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

View File

@@ -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>