mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
上传MOD时版本信息修正为当前版本 fix #418
This commit is contained in:
parent
96afd62d08
commit
945ca53d98
@ -881,6 +881,8 @@ namespace VPet_Simulator.Windows
|
||||
int allcount = App.MainWindows.Count * 2 / 3;
|
||||
foreach (var item in App.MainWindows)
|
||||
{
|
||||
if (item.GameSavesData == null)
|
||||
continue;
|
||||
str += item.GameSavesData.GameSave.Name + ",";
|
||||
if (item.HashCheck)
|
||||
{
|
||||
|
@ -634,6 +634,8 @@ namespace VPet_Simulator.Windows
|
||||
MessageBoxX.Show("封面图片(icon.png)大于500kb,请修改后重试".Translate(), "MOD上传失败".Translate(), MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
mods.GameVer = mw.version;
|
||||
mods.WriteFile();
|
||||
#if DEMO
|
||||
MessageBoxX.Show("经测试,除正式版均无创意工坊权限,此功能仅作为展示", "特殊版无法上传创意工坊");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user