mirror of
https://github.com/huiyadanli/RevokeMsgPatcher.git
synced 2025-05-25 07:16:06 +08:00
[#] 修复版本判断
This commit is contained in:
parent
b7f0bd7ceb
commit
605bb89b31
|
@ -243,7 +243,8 @@ namespace RevokeMsgPatcher.Modifier
|
||||||
{
|
{
|
||||||
FileHexEditor editor = new FileHexEditor(installPath, info);
|
FileHexEditor editor = new FileHexEditor(installPath, info);
|
||||||
// editor.FileVersion 在 StartVersion 和 EndVersion 之间
|
// editor.FileVersion 在 StartVersion 和 EndVersion 之间
|
||||||
if (IsInVersionRange(editor.FileVersion, info.StartVersion, info.EndVersion))
|
if ((string.IsNullOrEmpty(info.StartVersion) && string.IsNullOrEmpty(info.EndVersion))
|
||||||
|
|| IsInVersionRange(editor.FileVersion, info.StartVersion, info.EndVersion))
|
||||||
{
|
{
|
||||||
editors.Add(editor);
|
editors.Add(editor);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user