improve logging

This commit is contained in:
Aria Moradi
2021-04-02 03:14:19 +04:30
parent 035105adf0
commit 99a10ec7db

View File

@@ -106,8 +106,8 @@ object Extension {
downloadAPKFile(apkToDownload, apkFilePath)
val className: String = APKExtractor.extractDexAndReadClassname(apkFilePath, dexFilePath)
logger.debug(className)
// dex -> jar
logger.debug("Main class for extension is $className")
dex2jar(dexFilePath, jarFilePath, fileNameWithoutType)
// clean up
@@ -180,6 +180,7 @@ object Extension {
downloadedFile.sink().buffer().use { sink ->
response.body!!.source().use { source ->
sink.writeAll(source)
sink.flush()
}
}
}