We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f612e4d commit 365e1ccCopy full SHA for 365e1cc
Form1.cs
@@ -256,6 +256,12 @@ private void Form1_Load(object sender, EventArgs e)
256
string[] args = Environment.GetCommandLineArgs();
257
if (args.Length > 1)
258
{
259
+ UE4Version selectedVer = UE4Version.UNKNOWN;
260
+ if (args.Length > 2 && !Enum.TryParse(args[2], out selectedVer))
261
+ {
262
+ if (int.TryParse(args[2], out int selectedVerRaw)) selectedVer = (UE4Version)selectedVerRaw;
263
+ }
264
+ if (selectedVer > UE4Version.UNKNOWN) SetParsingVersion(selectedVer);
265
LoadFileAt(args[1]);
266
}
267
0 commit comments