This commit is contained in:
ShintoKosei
2024-04-14 12:11:05 +08:00
parent 3b4cdf6550
commit b8fcfd2321
2 changed files with 2 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ sha256() {
sha256sum $1 | awk '{print $1}'
}
prop() {
grep "${1}" gradle.properties | cut -d'=' -f2 | sed 's/\r//'
grep "^[[:space:]]*${1}" gradle.properties | cut -d'=' -f2 | sed 's/^[[:space:]]*//; s/\r//'
}
mcversion_group=$(prop GroupMCV)