From 7c06b738a6505baf650e136355bde415c5d37ebf Mon Sep 17 00:00:00 2001 From: magic chen <418379149@qq.com> Date: Wed, 13 Nov 2024 16:32:41 +0800 Subject: [PATCH] 1.2.4 --- README.md | 4 ++++ pom.xml | 2 +- src/main/java/io/github/whitemagic2014/tts/TTS.java | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 493f9c3..a8a0d0b 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,10 @@ public static void main(String[] args) { ## Version +### 1.2.4 + +- Optimize: The default value for the `overWrite` parameter is now true. + ### 1.2.3 - Optimize: A new parameter, overWrite, has been added. When the same file name is provided, if overWrite = true, it diff --git a/pom.xml b/pom.xml index 71b4706..18cd0fb 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ https://github.com/WhiteMagic2014/tts-edge-java.git io.github.whitemagic2014 tts-edge-java - 1.2.3 + 1.2.4 diff --git a/src/main/java/io/github/whitemagic2014/tts/TTS.java b/src/main/java/io/github/whitemagic2014/tts/TTS.java index ca4d3eb..fc0b54e 100644 --- a/src/main/java/io/github/whitemagic2014/tts/TTS.java +++ b/src/main/java/io/github/whitemagic2014/tts/TTS.java @@ -30,7 +30,7 @@ public class TTS { private String storage = "./storage"; private String fileName; private int connectTimeout = 0; - private Boolean overwrite; + private Boolean overwrite = true; public TTS voicePitch(String voicePitch) {