mirror of
https://github.com/TheWhiteDog9487/FreeUnlock.git
synced 2026-10-07 00:31:13 +08:00
让签名密钥库的位置动态加载
This commit is contained in:
1 parent
b923adbabb
commit
66faf5fe8c
1 file changed
+2
-2
@@ -41,8 +41,8 @@ android {
|
|||||||
buildConfig = true }
|
buildConfig = true }
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
val KeystorePath = "~/Downloads/Android签名密钥.jks"
|
val KeystorePath = System.getProperty("Android_Keystore_Path")
|
||||||
if( file(KeystorePath).exists() == false ) {
|
if( KeystorePath == null || file(KeystorePath).exists() == false ) {
|
||||||
return@signingConfigs }
|
return@signingConfigs }
|
||||||
|
|
||||||
create("release"){
|
create("release"){
|
||||||
|
|||||||
Reference in new issue
Block a user