update ogg js file on new version

This commit is contained in:
veliymolfar 2020-06-25 12:29:17 +03:00
parent 43a66ac0d3
commit 58c9cb75e7

View file

@ -459,7 +459,7 @@ public class ResourceManager {
if (entry.getValue().contains("-tts") && entry.getValue() if (entry.getValue().contains("-tts") && entry.getValue()
.endsWith(IndexConstants.TTSVOICE_INDEX_EXT_JS)) { .endsWith(IndexConstants.TTSVOICE_INDEX_EXT_JS)) {
File oggFile = new File(appPath, entry.getValue().replace("-tts", "")); File oggFile = new File(appPath, entry.getValue().replace("-tts", ""));
if (oggFile.getParentFile().exists() && !oggFile.exists()) { if (oggFile.getParentFile().exists()) {
copyAssets(context.getAssets(), entry.getKey(), oggFile); copyAssets(context.getAssets(), entry.getKey(), oggFile);
} }
} }