feat: 正式支持 NeoForge 自动安装

This commit is contained in:
Pigeon0v0 committed 2024-06-16 09:44:00 +08:00
1 parent 0e0335e688
commit f4b1e3ed1a
3 files changed
+71 -98

No files matched your search

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