Skip to content

Commit

Permalink
fix: 🐛 Fix an unexpected bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamEnderKing committed May 11, 2024
1 parent 2b4a308 commit 40859fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dependency/deploy/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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");
Expand All @@ -69,4 +69,4 @@
}
}
Cloud.UploadFile(Path.Combine(d.Data.Config.InstallPath, "compress.csv"), "compress.csv");
Log.LogInfo("Compress csv generated.");
Log.LogInfo("Compress csv generated.");

0 comments on commit 40859fb

Please sign in to comment.