Refactor: split Global.cs

This commit is contained in:
ChsBuffer
2021-03-25 12:21:42 +08:00
parent 5da5daa112
commit dcb90ccdcd
15 changed files with 45 additions and 82 deletions

View File

@@ -38,7 +38,7 @@ namespace Netch.Servers.Shadowsocks
};
if (mode.BypassChina)
command.acl = $"{Path.GetFullPath(File.Exists(Global.UserACL) ? Global.UserACL : Global.BuiltinACL)}";
command.acl = $"{Path.GetFullPath(File.Exists(Constants.UserACL) ? Constants.UserACL : Constants.BuiltinACL)}";
StartInstanceAuto(command.ToString());
}