feat: 正式支持 NeoForge 自动安装

This commit is contained in:
Pigeon0v0
2024-06-16 09:44:00 +08:00
parent 0e0335e688
commit f4b1e3ed1a
3 changed files with 71 additions and 98 deletions
@@ -804,7 +804,7 @@
''' </summary>
Public ReadOnly Property FileName As String
Get
Return "neoforge-" & "-" & StdVersion & "-" & "installer" & "." & "jar"
Return "neoforge-" & StdVersion & If(IsBeta, "-beta", "") & "-" & "installer" & "." & "jar"
End Get
End Property
''' <summary>
@@ -815,7 +815,7 @@
If Category = "installer" Then
Return "jar"
Else
Return "zip"
Return "jar"
End If
End Get
End Property