upnp
This commit is contained in:
parent
62c3e42401
commit
47120db47c
|
|
@ -107,6 +107,8 @@ namespace RBXLegacyLauncher
|
||||||
|
|
||||||
|
|
||||||
void Button2Click(object sender, EventArgs e)
|
void Button2Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (GlobalVars.upnp == true)
|
||||||
{
|
{
|
||||||
Process pmap = new Process();
|
Process pmap = new Process();
|
||||||
pmap.StartInfo.FileName = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\jreportable\\bin\\java.exe";
|
pmap.StartInfo.FileName = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\jreportable\\bin\\java.exe";
|
||||||
|
|
@ -114,6 +116,7 @@ namespace RBXLegacyLauncher
|
||||||
pmap.StartInfo.UseShellExecute = false;
|
pmap.StartInfo.UseShellExecute = false;
|
||||||
pmap.StartInfo.CreateNoWindow = true;
|
pmap.StartInfo.CreateNoWindow = true;
|
||||||
pmap.Start();
|
pmap.Start();
|
||||||
|
}
|
||||||
WriteConfigValues();
|
WriteConfigValues();
|
||||||
StartServer();
|
StartServer();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue