v3.8.6.0 1、修改代码,将软件.net框架版本由4.5降低到4.0,可在WinXP系统运行,WinXP系统最高支持.net 4.0。
This commit is contained in:
parent
4249a23f72
commit
78a5a33797
@ -210,13 +210,12 @@ namespace net.nutcore.aliddns
|
||||
|
||||
try
|
||||
{
|
||||
Task task = Task.Factory.StartNew(() =>
|
||||
new Thread(() =>
|
||||
{
|
||||
var proc = Process.Start(exec);
|
||||
proc.WaitForExit();
|
||||
proc.Dispose();
|
||||
});
|
||||
task.Start();
|
||||
}).Start();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@ -228,7 +227,7 @@ namespace net.nutcore.aliddns
|
||||
{
|
||||
try
|
||||
{
|
||||
Task task = Task.Factory.StartNew(() =>
|
||||
new Thread(() =>
|
||||
{
|
||||
Process[] pList = Process.GetProcessesByName("Ngrok");
|
||||
foreach (Process p in pList)
|
||||
@ -238,8 +237,7 @@ namespace net.nutcore.aliddns
|
||||
p.WaitForExit();
|
||||
p.Dispose();
|
||||
}
|
||||
});
|
||||
task.Start();
|
||||
}).Start();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user