🎨 Improve mobile unzip

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-02-15 16:18:28 +08:00
parent 061d8f7650
commit 462e992206
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 8 additions and 0 deletions

View file

@ -135,6 +135,7 @@ func DisableFeature(feature *C.char) {
func Unzip(zipFilePath, destination *C.char) {
if err := gulu.Zip.Unzip(C.GoString(zipFilePath), C.GoString(destination)); nil != err {
logging.LogErrorf("unzip [%s] failed: %s", zipFilePath, err)
panic(err)
}
}