Lower startup params #10

Merged
waffle.lord merged 1 commits from fix/generator-startup-args-to-lower into main 2022-06-05 15:06:40 -04:00

View File

@ -33,29 +33,29 @@
var argSplit = arg.Split("::"); var argSplit = arg.Split("::");
switch (argSplit[0]) switch (argSplit[0].ToLower())
{ {
case "OutputFolderName": case "OutputFolderName".ToLower():
{ {
outputFolderPath = argSplit[1]; outputFolderPath = argSplit[1];
break; break;
} }
case "SourceFolderPath": case "SourceFolderPath".ToLower():
{ {
sourceFolderPath = argSplit[1]; sourceFolderPath = argSplit[1];
break; break;
} }
case "TargetFolderPath": case "TargetFolderPath".ToLower():
{ {
targetFolderPath = argSplit[1]; targetFolderPath = argSplit[1];
break; break;
} }
case "AutoZip": case "AutoZip".ToLower():
{ {
autoZip = bool.Parse(argSplit[1]); autoZip = bool.Parse(argSplit[1]);
break; break;
} }
case "AutoClose": case "AutoClose".ToLower():
{ {
autoClose = bool.Parse(argSplit[1]); autoClose = bool.Parse(argSplit[1]);
break; break;