mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-08 20:56:04 +00:00
Update MainForm.cs
This commit is contained in:
parent
98b9019633
commit
2a2cdf8a4a
|
@ -250,12 +250,11 @@ namespace WelsonJS.Launcher
|
||||||
if (!Program.resourceServer.IsRunning())
|
if (!Program.resourceServer.IsRunning())
|
||||||
{
|
{
|
||||||
Program.resourceServer.Start();
|
Program.resourceServer.Start();
|
||||||
((ToolStripMenuItem)sender).Text = "Stop the code editor...";
|
((ToolStripMenuItem)sender).Text = "Open the code editor...";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Program.resourceServer.Stop();
|
Program.OpenWebBrowser(Program.resourceServer.GetPrefix());
|
||||||
((ToolStripMenuItem)sender).Text = "Start the code editor...";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -267,7 +266,7 @@ namespace WelsonJS.Launcher
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Process.Start(Program.resourceServer.GetPrefix());
|
Program.OpenWebBrowser(Program.resourceServer.GetPrefix());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user