mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 19:34:35 -05:00
improve logging
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user