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

This commit is contained in:
刘祥超
2023-07-07 15:59:51 +08:00
parent e6792b8188
commit 7389e5e54b
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())