diff --git a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs index 4f83eda..5083cec 100644 --- a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs @@ -471,6 +471,11 @@ namespace VPet_Simulator.Windows MessageBoxX.Show("模组 Core 为<虚拟桌宠模拟器>核心文件,无法发布\n如需发布自定义内容,请复制并更改名称".Translate(), "MOD上传失败".Translate(), MessageBoxIcon.Error); return; } + if (mods.Path.FullName.Contains("workshop")) + { + MessageBoxX.Show("创意工坊物品无法进行上传,请移动到mod文件夹后重试".Translate(), "MOD上传失败".Translate(), MessageBoxIcon.Error); + return; + } if (!File.Exists(mods.Path.FullName + @"\icon.png") || new FileInfo(mods.Path.FullName + @"\icon.png").Length > 524288) { MessageBoxX.Show("封面图片(icon.png)大于500kb,请修改后重试".Translate(), "MOD上传失败".Translate(), MessageBoxIcon.Error); diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2308.lps b/VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2308.lps new file mode 100644 index 0000000..3f50b13 --- /dev/null +++ b/VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2308.lps @@ -0,0 +1 @@ +创意工坊物品无法进行上传,请移动到mod文件夹后重试#Creative Workshop items can not be uploaded, please move to `mod` folder and try again.:| \ No newline at end of file diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Prog2308.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Prog2308.lps new file mode 100644 index 0000000..78d228f --- /dev/null +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Prog2308.lps @@ -0,0 +1 @@ +创意工坊物品无法进行上传,请移动到mod文件夹后重试#创意工坊物品无法进行上传,请移动到mod文件夹后重试:| \ No newline at end of file diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2308.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2308.lps new file mode 100644 index 0000000..d8c9fd3 --- /dev/null +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2308.lps @@ -0,0 +1 @@ +创意工坊物品无法进行上传,请移动到mod文件夹后重试#創意工坊物品無法進行上傳,請移動到mod資料夾後重試:| \ No newline at end of file