修改PageDownloadClient.xaml.vb和PageDownloadInstall.xaml.vb

对4月1日版本直接判定为愚人节版
This commit is contained in:
Silverteal
2024-05-04 09:22:24 +08:00
parent d682b59803
commit c99575c3f1
2 changed files with 16 additions and 0 deletions
@@ -44,6 +44,14 @@
Version("type") = "special"
Version.Add("lore", GetMcFoolName(Version("id")))
End Select
'所有4月1日发布的版本可视为愚人节版,但不改动版本描述
Select Case Version("releaseDate").Value(Of Date).ToString("MM'/'dd")
Case "04/01"
If Not Version("type") == "special" Then
Type = "愚人节版"
Version("type") = "special"
End If
End Select
Case "special"
'已被处理的愚人节版
Type = "愚人节版"
@@ -528,6 +528,14 @@
Version("type") = "special"
Version.Add("lore", GetMcFoolName(Version("id")))
End Select
'所有4月1日发布的版本视为愚人节版,但不改动版本描述
Select Case Version("releaseDate").Value(Of Date).ToString("MM'/'dd")
Case "04/01"
If Not Version("type") == "special" Then
Type = "愚人节版"
Version("type") = "special"
End If
End Select
Case "special"
'已被处理的愚人节版
Type = "愚人节版"