Browse Source

Fix error in open log file in debug mode.

tags/3.0
10people 9 years ago
parent
commit
ca44b52593
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      shadowsocks-csharp/Program.cs

+ 2
- 2
shadowsocks-csharp/Program.cs View File

@@ -37,9 +37,9 @@ namespace Shadowsocks
return; return;
} }
Directory.SetCurrentDirectory(Application.StartupPath); Directory.SetCurrentDirectory(Application.StartupPath);
#if !DEBUG
Logging.OpenLogFile(); Logging.OpenLogFile();
#endif
ShadowsocksController controller = new ShadowsocksController(); ShadowsocksController controller = new ShadowsocksController();
MenuViewController viewController = new MenuViewController(controller); MenuViewController viewController = new MenuViewController(controller);


Loading…
Cancel
Save