mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 07:21:43 +00:00
Update ScreenMatch.cs
This commit is contained in:
parent
7b7a25f5e9
commit
7c0adf8f00
|
@ -257,7 +257,7 @@ public class ScreenMatch
|
|||
|
||||
if (isSaveToFile)
|
||||
{
|
||||
string outputFilePath = Path.Combine(outputDirectoryPath, $"{DateTime.Now.ToString("yyyy MM dd hh mm ss")}.png");
|
||||
string outputFilePath = Path.Combine(outputDirectoryPath, $"{DateTime.Now.ToString("yyyy-MM-dd hh mm ss")}.png");
|
||||
((Bitmap)mainImage.Clone()).Save(outputFilePath);
|
||||
parent.Log($"Screenshot saved: {outputFilePath}");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user