mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-16 20:08:50 +00:00
fix: build script
This commit is contained in:
@ -17,7 +17,7 @@ fun getKeystoreFile(base64String: String?, hash: String, fileName: String): File
|
|||||||
throw GradleException("Keystore is null")
|
throw GradleException("Keystore is null")
|
||||||
}
|
}
|
||||||
val decodedBytes = Base64.getDecoder().decode(base64String)
|
val decodedBytes = Base64.getDecoder().decode(base64String)
|
||||||
val tempFile = File("${layout.buildDirectory}/keystores/${fileName}")
|
val tempFile = File("${layout.buildDirectory.get()}/keystores/${fileName}")
|
||||||
tempFile.parentFile.mkdirs()
|
tempFile.parentFile.mkdirs()
|
||||||
tempFile.writeBytes(decodedBytes)
|
tempFile.writeBytes(decodedBytes)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user