Skip to content

Commit 5bc4a0b

Browse files
committed
Fix autostart issue #2841
1 parent 6893af1 commit 5bc4a0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shadowsocks-csharp/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ static class Program
2626
[STAThread]
2727
static void Main(string[] args)
2828
{
29+
Directory.SetCurrentDirectory(Application.StartupPath);
2930
// todo: initialize the NLog configuartion
3031
Model.NLogConfig.TouchAndApplyNLogConfig();
3132

0 commit comments

Comments
 (0)