修改最后生成的文件名称
This commit is contained in:
parent
d7fd841906
commit
9083365502
2
Form1.cs
2
Form1.cs
@ -208,7 +208,7 @@ namespace MD5Create
|
|||||||
// 序列化和保存JSON
|
// 序列化和保存JSON
|
||||||
string json = JsonConvert.SerializeObject(versionedStructure, Newtonsoft.Json.Formatting.Indented);
|
string json = JsonConvert.SerializeObject(versionedStructure, Newtonsoft.Json.Formatting.Indented);
|
||||||
string jsonMD5 = CalculateMD5FromString(json);
|
string jsonMD5 = CalculateMD5FromString(json);
|
||||||
string outputPath = Path.Combine(md5FolderPath, $"{jsonMD5}.json");
|
string outputPath = Path.Combine(md5FolderPath, "md5.json");
|
||||||
File.WriteAllText(outputPath, json);
|
File.WriteAllText(outputPath, json);
|
||||||
|
|
||||||
// 最终更新
|
// 最终更新
|
||||||
|
Loading…
x
Reference in New Issue
Block a user