函数:unzip 解压(仅支持 Android)

函数名称:文件解压

函数功能:文件解压,解压压缩包

引擎版本:仅 Android v2.3.5 及其以上版本支持

函数方法

unzip(zipPath,filePath)

参数说明

参数 类型 必填 说明
zipPath string 压缩包路径
filePath string 解压路径

函数用例

unzip(userPath() .. "/web.zip",userPath() .. "/res/")
Copyright 北京帮你玩科技有限公司 2023 all right reserved,powered by Gitbook该文章修订时间: 2024-03-06 17:50:18

results matching ""

    No results matching ""