[skip ci] fix
This commit is contained in:
@@ -522,7 +522,8 @@ interface JsExtensions : JsEncodeUtils {
|
||||
*/
|
||||
fun unArchiveFile(zipPath: String): String {
|
||||
if (zipPath.isEmpty()) return ""
|
||||
return ArchiveUtils.deCompress(zipPath).toString()
|
||||
val zipFile = getFile(zipPath)
|
||||
return ArchiveUtils.deCompress(zipFile.absolutePath).toString()
|
||||
.substring(FileUtils.getCachePath().length)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user