mirror of
https://github.com/wahyd4/say-it.git
synced 2026-08-09 05:06:41 +10:00
try to fix the pronounce issue under winddows
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user