Revert build change
This commit is contained in:
parent
18ce2b9c87
commit
6cada80a58
1 changed files with 4 additions and 4 deletions
|
@ -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") + "<")
|
||||||
|
|
Loading…
Reference in a new issue