From 0d78051318072e0a4362a185812466b3688512ea Mon Sep 17 00:00:00 2001 From: clowwindy Date: Thu, 13 Nov 2014 22:24:51 +0800 Subject: [PATCH] fix #60 --- shadowsocks-csharp/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shadowsocks-csharp/Program.cs b/shadowsocks-csharp/Program.cs index b2834ed6..7b0d6df0 100755 --- a/shadowsocks-csharp/Program.cs +++ b/shadowsocks-csharp/Program.cs @@ -4,6 +4,7 @@ using Shadowsocks.View; using System; using System.Collections.Generic; using System.Diagnostics; +using System.IO; using System.Threading; using System.Windows.Forms; @@ -30,7 +31,7 @@ namespace Shadowsocks MessageBox.Show("Shadowsocks is already running.\n\nFind Shadowsocks icon in your notify tray."); return; } - + Directory.SetCurrentDirectory(Application.StartupPath); #if !DEBUG Logging.OpenLogFile(); #endif