mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-07 12:16:04 +00:00
Update WelsonJS.Toolkit/WelsonJS.Launcher/Program.cs
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
e853003bda
commit
d42210f922
|
@ -140,12 +140,14 @@ namespace WelsonJS.Launcher
|
|||
|
||||
public static void StartResourceServer()
|
||||
{
|
||||
if (resourceServer == null)
|
||||
lock(typeof(Program))
|
||||
{
|
||||
resourceServer = new ResourceServer(GetAppConfig("ResourceServerPrefix"), "editor.html");
|
||||
if (resourceServer == null)
|
||||
{
|
||||
resourceServer = new ResourceServer(GetAppConfig("ResourceServerPrefix"), "editor.html");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void OpenWebBrowser(string url)
|
||||
{
|
||||
string userDataDir = Path.Combine(GetAppDataPath(), "EdgeUserProfile");
|
||||
|
|
Loading…
Reference in New Issue
Block a user