远程安装时可以覆盖运行中的文件

This commit is contained in:
GoEdgeLab
2023-07-07 15:59:51 +08:00
parent de9c6fa515
commit 47f22087c4
2 changed files with 8 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ func main() {
return
}
unzip := helpers.NewUnzip(zipPath, targetPath)
var unzip = helpers.NewUnzip(zipPath, targetPath)
err := unzip.Run()
if err != nil {
stderr("ERROR: " + err.Error())