This commit is contained in:
Hakoyu 2023-10-08 21:11:03 +08:00
parent 4c311c2d70
commit 5d8fef7808
4 changed files with 17 additions and 2 deletions

View File

@ -1 +1,11 @@
# VPet.ModMaker
《虚拟桌宠模拟器》MOD 制作器 0 门槛打开就能用。支持所有游戏内容动画文本效果皆可。跟随游戏更新出新内容MOD 制作器也会跟随更新,立即上手制作吧!
[游戏本体](https://store.steampowered.com/app/1920960)
[MOD制作器]()
[MOD制作器Github](https://github.com/LorisYounger/VPet.ModMaker)
## [Wiki](https://github.com/LorisYounger/VPet.ModMaker/wiki)
[简体中文Wiki](https://github.com/LorisYounger/VPet.ModMaker/wiki/%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%E4%B8%BB%E9%A1%B5%E9%9D%A2)

View File

@ -684,6 +684,8 @@ public class ModInfoModel : I18nModel<I18nModInfoModel>
/// <param name="path">路径</param>
private void SaveImage(string path)
{
if (Foods.Count == 0)
return;
var imagePath = Path.Combine(path, "image");
Directory.CreateDirectory(imagePath);
if (Foods.Count > 0)

View File

@ -160,7 +160,10 @@ public class ModEditWindowVM
/// </summary>
private void Save()
{
if (MessageBox.Show("确定保存吗".Translate()) is not MessageBoxResult.Yes)
if (
MessageBox.Show("确定保存吗".Translate(), "", MessageBoxButton.YesNo)
is not MessageBoxResult.Yes
)
return;
if (string.IsNullOrEmpty(ModInfo.Value.SourcePath.Value))

View File

@ -81,7 +81,7 @@
<TextBlock
HorizontalAlignment="Right"
VerticalAlignment="Top"
Text="{Binding LastTimeString}" />
Text="{Binding LastTime, StringFormat={}yyyy/MM/dd HH:mm}" />
<TextBlock
Grid.Row="1"
VerticalAlignment="Bottom"