better support of v1 and v2 (dev) formats
This commit is contained in:
parent
ec79c7a5ea
commit
4768d2c25b
|
|
@ -228,8 +228,11 @@ namespace NovetusLauncher
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
label9.Text = "v2 (DEV)";
|
if (!label9.Text.Equals("v1"))
|
||||||
IsVersion2 = false;
|
{
|
||||||
|
label9.Text = "v2 (DEV)";
|
||||||
|
IsVersion2 = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!GlobalVars.AdminMode)
|
if (!GlobalVars.AdminMode)
|
||||||
|
|
@ -262,12 +265,15 @@ namespace NovetusLauncher
|
||||||
SelectedClientInfo.Fix2007 = Convert.ToBoolean(fix2007);
|
SelectedClientInfo.Fix2007 = Convert.ToBoolean(fix2007);
|
||||||
SelectedClientInfo.AlreadyHasSecurity = Convert.ToBoolean(alreadyhassecurity);
|
SelectedClientInfo.AlreadyHasSecurity = Convert.ToBoolean(alreadyhassecurity);
|
||||||
|
|
||||||
if (IsVersion2)
|
try
|
||||||
{
|
{
|
||||||
SelectedClientInfo.NoGraphicsOptions = Convert.ToBoolean(cmdargsornogfxoptions);
|
if (IsVersion2)
|
||||||
SelectedClientInfo.CommandLineArgs = commandargsver2;
|
{
|
||||||
|
SelectedClientInfo.NoGraphicsOptions = Convert.ToBoolean(cmdargsornogfxoptions);
|
||||||
|
SelectedClientInfo.CommandLineArgs = commandargsver2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
catch (Exception)
|
||||||
{
|
{
|
||||||
//Again, fake it.
|
//Again, fake it.
|
||||||
SelectedClientInfo.NoGraphicsOptions = false;
|
SelectedClientInfo.NoGraphicsOptions = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue