From 40859fbd739703337b31e1e567662a1a85f2d06b Mon Sep 17 00:00:00 2001 From: DreamEnderKing <58102615+DreamEnderKing@users.noreply.github.com> Date: Sat, 11 May 2024 02:05:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Fix=20an=20unexpected=20b?= =?UTF-8?q?ug.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dependency/deploy/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dependency/deploy/Program.cs b/dependency/deploy/Program.cs index 16659d6f..7531360e 100644 --- a/dependency/deploy/Program.cs +++ b/dependency/deploy/Program.cs @@ -13,7 +13,7 @@ Downloader d = new Downloader(); d.Cloud.UpdateSecret(args[0], args[1]); d.Data.Config.InstallPath = @"D:\a\mirror\"; -d.Data.MD5DataPath = @"D:\a\mirror\hash.json"; + d.Log.Partner.Add(Log); // 每次更新需要更新默认值 d.CurrentVersion = new TVersion(); @@ -49,7 +49,7 @@ } d.Data.SaveMD5Data(); -Cloud.UploadFile(d.Data.Config.MD5DataPath, "hash.json"); +Cloud.UploadFile(d.Data.MD5DataPath, "hash.json"); Cloud.UploadFile(Path.Combine(d.Data.Config.InstallPath, "CAPI", "cpp", "API", "src", "AI.cpp"), $"Templates/t.{d.CurrentVersion.TemplateVersion}.cpp"); @@ -69,4 +69,4 @@ } } Cloud.UploadFile(Path.Combine(d.Data.Config.InstallPath, "compress.csv"), "compress.csv"); -Log.LogInfo("Compress csv generated."); \ No newline at end of file +Log.LogInfo("Compress csv generated.");