diff --git a/app/src/main/java/io/legado/app/help/JsExtensions.kt b/app/src/main/java/io/legado/app/help/JsExtensions.kt index ab02185b1..ce27c40c7 100644 --- a/app/src/main/java/io/legado/app/help/JsExtensions.kt +++ b/app/src/main/java/io/legado/app/help/JsExtensions.kt @@ -306,7 +306,7 @@ interface JsExtensions { contents.deleteCharAt(contents.length - 1) } } - FileUtils.deleteFile(unzipPath) + FileUtils.deleteFile(unzipFolder.absolutePath) return contents.toString() }