mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
调整兼容范围
This commit is contained in:
parent
fefb8fb285
commit
8e056b097f
@ -357,7 +357,7 @@ namespace VPet_Simulator.Windows
|
|||||||
runMODAuthor.Text = mod.Author;
|
runMODAuthor.Text = mod.Author;
|
||||||
runMODGameVer.Text = CoreMOD.INTtoVER(mod.GameVer);
|
runMODGameVer.Text = CoreMOD.INTtoVER(mod.GameVer);
|
||||||
runMODGameVer.Foreground = Function.ResourcesBrush(Function.BrushType.PrimaryText);
|
runMODGameVer.Foreground = Function.ResourcesBrush(Function.BrushType.PrimaryText);
|
||||||
if(ImageMOD.Source is BitmapImage bitmapImage)
|
if (ImageMOD.Source is BitmapImage bitmapImage)
|
||||||
{
|
{
|
||||||
bitmapImage.StreamSource?.Dispose();
|
bitmapImage.StreamSource?.Dispose();
|
||||||
}
|
}
|
||||||
@ -379,6 +379,7 @@ namespace VPet_Simulator.Windows
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
ImageMOD.Source = ImageResources.NewSafeBitmapImage(@"pack://application:,,,/Res/TopLogo2019.PNG");
|
ImageMOD.Source = ImageResources.NewSafeBitmapImage(@"pack://application:,,,/Res/TopLogo2019.PNG");
|
||||||
|
if (mod.GameVer / 100 != mw.version / 100)
|
||||||
if (mod.GameVer < mw.version)
|
if (mod.GameVer < mw.version)
|
||||||
{
|
{
|
||||||
if (mod.GameVer / 1000 == mw.version / 1000)
|
if (mod.GameVer / 1000 == mw.version / 1000)
|
||||||
|
Loading…
Reference in New Issue
Block a user