Skip to content

Commit

Permalink
Fixed args bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceiridge committed Dec 11, 2019
1 parent d71edcb commit de00dce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ChromeDevExtWarningPatcher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ private static bool BytePatchChrome(FileInfo chromeDll)
if (bytePatch.GetHashCode() == removalHashCode)
{
Console.WriteLine("Ignoring a pattern with hashcode " + removalHashCode);
patches++;
continue;
}

Expand Down Expand Up @@ -132,7 +133,7 @@ private static bool ContainsArg(string[] args, string arg)
{
foreach(string argi in args)
{
if (argi.ToLower().Replace("-", "").Equals(arg))
if (argi.ToLower().Replace("-", "").Equals(arg.ToLower()))
return true;
}
return false;
Expand Down

0 comments on commit de00dce

Please sign in to comment.