diff --git a/VPet.Plugin.EdgeTTS/1101_EdgeTTS/plugin/VPet.Plugin.VPetTTS.dll b/VPet.Plugin.EdgeTTS/1101_EdgeTTS/plugin/VPet.Plugin.VPetTTS.dll index 43cad12..bb77bbe 100644 Binary files a/VPet.Plugin.EdgeTTS/1101_EdgeTTS/plugin/VPet.Plugin.VPetTTS.dll and b/VPet.Plugin.EdgeTTS/1101_EdgeTTS/plugin/VPet.Plugin.VPetTTS.dll differ diff --git a/VPet.Plugin.EdgeTTS/EdgeTTS.cs b/VPet.Plugin.EdgeTTS/EdgeTTS.cs index aef8e03..03902bf 100644 --- a/VPet.Plugin.EdgeTTS/EdgeTTS.cs +++ b/VPet.Plugin.EdgeTTS/EdgeTTS.cs @@ -42,7 +42,7 @@ namespace VPet.Plugin.VPetTTS { MW.Main.ToolBar.AddMenuButton(VPet_Simulator.Core.ToolBar.MenuType.DIY, "EdgeTTS", Setting); } - private void Main_OnSay(string saythings) + public void Main_OnSay(string saythings) {//说话语音 var path = GraphCore.CachePath + $"\\voice\\{Sub.GetHashCode(saythings):X}.mp3"; if (File.Exists(path)) diff --git a/VPet.Plugin.EdgeTTS/winSetting.xaml b/VPet.Plugin.EdgeTTS/winSetting.xaml index 196a0a9..dfdcc85 100644 --- a/VPet.Plugin.EdgeTTS/winSetting.xaml +++ b/VPet.Plugin.EdgeTTS/winSetting.xaml @@ -69,6 +69,9 @@