This commit is contained in:
CortexCore
2024-05-31 01:23:15 +08:00
parent c798b224be
commit 299082fe27
164 changed files with 3604 additions and 2018 deletions

View File

@@ -138,13 +138,16 @@ namespace BITKit
{
StartInfo = StartInfo,
};
var reportBuilder = new StringBuilder();
process.OutputDataReceived += (sender, args) =>
{
BIT4Log.Log<BITSharp>(args.Data);
//BIT4Log.Log<BITSharp>(args.Data);
reportBuilder.AppendLine(args.Data);
};
process.ErrorDataReceived += (sender, args) =>
{
BIT4Log.Warning<BITSharp>(args.Data);
//BIT4Log.Warning<BITSharp>(args.Data);
reportBuilder.AppendLine($"<color=yellow>{args.Data}</color>");
};
process.Start();
@@ -173,6 +176,8 @@ namespace BITKit
}
}
BIT4Log.Log<BITSharp>(reportBuilder);
waiting?.Release(handle);
return Assembly.Load(bytes);