mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-10 12:26:16 -04:00
Fixed "isOfficial" judgment (#2636)
This commit is contained in:
parent
b69dadc80c
commit
16b0335fcf
@ -25,7 +25,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val isOfficial = System.getenv("HMCL_SIGNATURE_KEY") != null
|
val isOfficial = System.getenv("HMCL_SIGNATURE_KEY") != null
|
||||||
|| (System.getenv("GITHUB_REPOSITORY_OWNER") == "huanghongxun" && System.getenv("GITHUB_BASE_REF")
|
|| (System.getenv("GITHUB_REPOSITORY_OWNER") == "HMCL-dev" && System.getenv("GITHUB_BASE_REF")
|
||||||
.isNullOrEmpty())
|
.isNullOrEmpty())
|
||||||
|
|
||||||
val buildNumber = System.getenv("BUILD_NUMBER")?.toInt().let { number ->
|
val buildNumber = System.getenv("BUILD_NUMBER")?.toInt().let { number ->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user