From 714881f00da1738426cf19ed625834f19afb9e30 Mon Sep 17 00:00:00 2001 From: oufu99 Date: Sat, 5 Nov 2022 09:50:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E6=AC=A1=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=A4=9A=E7=89=88=E6=9C=AC=E6=97=B6=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Strategys/PlatformWindows/WindowsStrategy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c#/GeneralUpdate.Core/Strategys/PlatformWindows/WindowsStrategy.cs b/src/c#/GeneralUpdate.Core/Strategys/PlatformWindows/WindowsStrategy.cs index 46452ec..4415f25 100644 --- a/src/c#/GeneralUpdate.Core/Strategys/PlatformWindows/WindowsStrategy.cs +++ b/src/c#/GeneralUpdate.Core/Strategys/PlatformWindows/WindowsStrategy.cs @@ -45,9 +45,9 @@ namespace GeneralUpdate.Core.Strategys.PlatformWindows var updateVersions = Packet.UpdateVersions.OrderBy(x => x.PubTime).ToList(); if (updateVersions != null && updateVersions.Count > 0) { - var patchPath = FileUtil.GetTempDirectory(PATCHS); foreach (var version in updateVersions) { + var patchPath = FileUtil.GetTempDirectory(PATCHS); var zipFilePath = $"{Packet.TempPath}{version.Name}{Packet.Format}"; var pipelineBuilder = new PipelineBuilder(new BaseContext(ProgressEventAction, ExceptionEventAction, version, zipFilePath, patchPath, Packet.InstallPath, Packet.Format, Packet.Encoding)). UseMiddleware(). -- Gitee