|
@@ -41,13 +41,20 @@ namespace Shadowsocks.Controller |
|
|
try
|
|
|
try
|
|
|
{
|
|
|
{
|
|
|
local.Start();
|
|
|
local.Start();
|
|
|
|
|
|
}
|
|
|
|
|
|
catch (Exception e)
|
|
|
|
|
|
{
|
|
|
|
|
|
Console.WriteLine(e);
|
|
|
|
|
|
}
|
|
|
|
|
|
try
|
|
|
|
|
|
{
|
|
|
pacServer = new PACServer();
|
|
|
pacServer = new PACServer();
|
|
|
pacServer.PACFileChanged += pacServer_PACFileChanged;
|
|
|
pacServer.PACFileChanged += pacServer_PACFileChanged;
|
|
|
pacServer.Start(_config);
|
|
|
pacServer.Start(_config);
|
|
|
}
|
|
|
}
|
|
|
catch (Exception e)
|
|
|
catch (Exception e)
|
|
|
{
|
|
|
{
|
|
|
Console.WriteLine(e.Message);
|
|
|
|
|
|
|
|
|
Console.WriteLine(e);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
UpdateSystemProxy();
|
|
|
UpdateSystemProxy();
|
|
|