diff --git a/shadowsocks-csharp/Program.cs b/shadowsocks-csharp/Program.cs index cb40cb23..efa241e9 100755 --- a/shadowsocks-csharp/Program.cs +++ b/shadowsocks-csharp/Program.cs @@ -37,9 +37,9 @@ namespace Shadowsocks return; } Directory.SetCurrentDirectory(Application.StartupPath); -#if !DEBUG + Logging.OpenLogFile(); -#endif + ShadowsocksController controller = new ShadowsocksController(); MenuViewController viewController = new MenuViewController(controller);