Update Module
- 백신 회피를 위한 런처 수정
This commit is contained in:
@@ -114,13 +114,19 @@ namespace CommonLibrary
|
||||
{
|
||||
using (Stream outputStream = File.OpenWrite(fileName))
|
||||
{
|
||||
|
||||
Stream progressStream = new ProgressStream(outputStream, null,
|
||||
new BasicProgress<int>(i =>
|
||||
{
|
||||
currentBytes += i;
|
||||
progress.Report(currentBytes / totalBytes);
|
||||
if (progress != null)
|
||||
{
|
||||
progress.Report(currentBytes / totalBytes);
|
||||
}
|
||||
}));
|
||||
|
||||
inputStream.CopyTo(progressStream);
|
||||
|
||||
}
|
||||
File.SetLastWriteTime(fileName, entry.LastWriteTime.LocalDateTime);
|
||||
}
|
||||
|
Reference in New Issue
Block a user