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