try to fix the pronounce issue under winddows

This commit is contained in:
2017-06-28 12:52:33 +08:00
parent e651ec0ad0
commit af393b0e40
+1 -2
View File
@@ -163,8 +163,7 @@ func speak() {
}
return
}
command := exec.Command(getAudioFilePath())
// command := exec.Command("cmdmp3.exe", getAudioFilePath())
command := exec.Command("cmdmp3", getAudioFilePath())
if err := command.Run(); err != nil {
log.Error("Failed to say the words: " + err.Error())
}