调整兼容范围

This commit is contained in:
ZouJin 2024-04-01 00:51:55 +08:00
parent fefb8fb285
commit 8e056b097f

View File

@ -357,7 +357,7 @@ namespace VPet_Simulator.Windows
runMODAuthor.Text = mod.Author;
runMODGameVer.Text = CoreMOD.INTtoVER(mod.GameVer);
runMODGameVer.Foreground = Function.ResourcesBrush(Function.BrushType.PrimaryText);
if(ImageMOD.Source is BitmapImage bitmapImage)
if (ImageMOD.Source is BitmapImage bitmapImage)
{
bitmapImage.StreamSource?.Dispose();
}
@ -379,6 +379,7 @@ namespace VPet_Simulator.Windows
}
else
ImageMOD.Source = ImageResources.NewSafeBitmapImage(@"pack://application:,,,/Res/TopLogo2019.PNG");
if (mod.GameVer / 100 != mw.version / 100)
if (mod.GameVer < mw.version)
{
if (mod.GameVer / 1000 == mw.version / 1000)