Revert build change

This commit is contained in:
Victor Shcherb 2021-02-09 17:44:45 +01:00
parent 18ce2b9c87
commit 6cada80a58

View file

@ -154,11 +154,11 @@ android {
} }
def replaceNoTranslate(line) { def replaceNoTranslate(line) {
if (line.contains("\"app_name\"") && System.getenv("TARGET_APP_PLUS_NAME")) { if (line.contains("\"app_name\"") && System.getenv("TARGET_APP_NAME")) {
return line.replaceAll(">[^<]*<", ">" + System.getenv("TARGET_APP_PLUS_NAME") + "<") return line.replaceAll(">[^<]*<", ">" + System.getenv("TARGET_APP_NAME") + "<")
} }
if (line.contains("\"app_name_free\"") && System.getenv("TARGET_APP_FREE_NAME")) { if (line.contains("\"app_name_free\"") && System.getenv("TARGET_APP_NAME")) {
return line.replaceAll(">[^<]*<", ">" + System.getenv("TARGET_APP_FREE_NAME") + "<") return line.replaceAll(">[^<]*<", ">" + System.getenv("TARGET_APP_NAME") + "<")
} }
if (line.contains("\"app_edition\"") && System.getenv("APP_EDITION")) { if (line.contains("\"app_edition\"") && System.getenv("APP_EDITION")) {
return line.replaceAll(">[^<]*<", ">" + System.getenv("APP_EDITION") + "<") return line.replaceAll(">[^<]*<", ">" + System.getenv("APP_EDITION") + "<")