This commit is contained in:
1-6
2023-07-25 14:48:49 +08:00
parent 676431a1d5
commit fd2053e14c
5 changed files with 54 additions and 23 deletions
+2 -1
View File
@@ -149,10 +149,11 @@ func initPlugins() {
Error: err,
}
}
fmt.Println(zipfile)
defer os.Remove(zipfile)
if err := unzip(zipfile, 0755); err != nil {
return &storage.Final{
Error: errors.New("安装异常!"),
Error: errors.New("安装异常!" + err.Error()),
}
}
return &storage.Final{