mirror of
https://github.com/TheWhiteDog9487/FreeUnlock.git
synced 2026-08-11 14:51:30 +08:00
让签名密钥库的位置动态加载
This commit is contained in:
@@ -41,8 +41,8 @@ android {
|
||||
buildConfig = true }
|
||||
|
||||
signingConfigs {
|
||||
val KeystorePath = "~/Downloads/Android签名密钥.jks"
|
||||
if( file(KeystorePath).exists() == false ) {
|
||||
val KeystorePath = System.getProperty("Android_Keystore_Path")
|
||||
if( KeystorePath == null || file(KeystorePath).exists() == false ) {
|
||||
return@signingConfigs }
|
||||
|
||||
create("release"){
|
||||
|
||||
Reference in New Issue
Block a user