Skip to content

Commit

Permalink
✂ No weblate
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiYueCommentary committed Feb 8, 2024
1 parent 978ea09 commit 9d61ec1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ bin/

run/
mappings
.architectury-transformer
.architectury-transformer
**/lang/*.json
!en_us.json
34 changes: 17 additions & 17 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,23 @@ task setupFiles() {
System.out.println("Mod Menu: " + rootProject.mod_menu_version)
System.out.println("Architectury: " + rootProject.architectury_version)

download {
src "https://weblate.ziyuesinicization.site/api/components/tianjin-metro/en-us-json/file/"
dest "lang.zip"
overwrite true
retries -1
}
copy {
outputs.upToDateWhen { false }
from(zipTree("lang.zip"))
into "temp_lang"
}
copy {
outputs.upToDateWhen { false }
from "temp_lang/tianjin-metro/en-us-json/"
into "/"
}
delete("lang.zip", "temp_lang")
// download {
// src "https://weblate.ziyuesinicization.site/api/components/tianjin-metro/en-us-json/file/"
// dest "lang.zip"
// overwrite true
// retries -1
// }
// copy {
// outputs.upToDateWhen { false }
// from(zipTree("lang.zip"))
// into "temp_lang"
// }
// copy {
// outputs.upToDateWhen { false }
// from "temp_lang/tianjin-metro/en-us-json/"
// into "/"
// }
// delete("lang.zip", "temp_lang")

copy {
outputs.upToDateWhen { false }
Expand Down

0 comments on commit 9d61ec1

Please sign in to comment.