Skip to content

Commit

Permalink
Merge pull request #78 from XiaoP76/bug/uppercase-extension-ignored
Browse files Browse the repository at this point in the history
Uppercase extension .EVTX passed on the commandline was ignored. Fixed.
  • Loading branch information
kmaki565 authored Oct 26, 2024
2 parents fcf8ec5 + 1247a25 commit 810ea18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventLook/View/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private void ProcessCommandLine()
var fileName = args[1];
if (File.Exists(fileName))
{
var extension = System.IO.Path.GetExtension(fileName);
var extension = System.IO.Path.GetExtension(fileName)?.ToLowerInvariant();
if (extension == ".evtx")
{
WeakReferenceMessenger.Default.Send(new FileToBeProcessedMessageToken() { FilePath = fileName });
Expand Down

0 comments on commit 810ea18

Please sign in to comment.