feat: 允许为单个版本关闭 Mod 更新功能

This commit is contained in:
wyc-26
2025-06-26 16:01:29 +08:00
parent fdf5407ea3
commit e188f7392c
4 changed files with 16 additions and 3 deletions
@@ -688,7 +688,7 @@ Finished:
''' </summary>
Public ReadOnly Property CanUpdate As Boolean
Get
Return Not Setup.Get("UiHiddenFunctionModUpdate") AndAlso ChangelogUrls.Any()
Return Not Setup.Get("UiHiddenFunctionModUpdate") AndAlso Setup.Get("VersionCanModUpdate", Version:=PageVersionLeft.Version) AndAlso ChangelogUrls.Any()
End Get
End Property