Browse Source

fix configs cannot be loaded correctly

pull/62/head
Jakes 10 years ago
parent
commit
56e21b6a8a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      shadowsocks-csharp/Model/Configuration.cs

+ 2
- 1
shadowsocks-csharp/Model/Configuration.cs View File

@@ -15,7 +15,8 @@ namespace Shadowsocks.Model
public bool shareOverLan;
public bool isDefault;
private static string CONFIG_FILE = "gui-config.json";
private static string EXE_PATH = Application.StartupPath + "\\";
private static string CONFIG_FILE = EXE_PATH + "gui-config.json";
public Server GetCurrentServer()
{


Loading…
Cancel
Save