Update ScreenMatch.cs

This commit is contained in:
Namhyeon Go 2024-08-26 21:53:13 +09:00
parent 7b7a25f5e9
commit 7c0adf8f00

View File

@ -257,7 +257,7 @@ public class ScreenMatch
if (isSaveToFile) 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); ((Bitmap)mainImage.Clone()).Save(outputFilePath);
parent.Log($"Screenshot saved: {outputFilePath}"); parent.Log($"Screenshot saved: {outputFilePath}");
} }