更新不同系统的解压方式,区分zip与gzip

This commit is contained in:
2025-10-30 17:47:28 +08:00
parent 42404bb8e5
commit 607af816c4
3 changed files with 20 additions and 7 deletions

View File

@@ -456,7 +456,7 @@ func (s *sP2P) receiveGatewayMessages(ctx context.Context) {
g.Log().Info(ctx, "文件接收完成")
// 开始覆盖文件与重启
err = service.System().Update(ctx)
err = service.System().Update(ctx, "")
//// 调用不同系统的更新服务
//service.OS().Update(msgData.Version, msgData.Server)