public PathManagerWrapper () { _pathManager = ServiceRegistration.Get<Common.PathManager.IPathManager>(); _pathManager.SetPath("TVCORE", "<DATA>\\SlimTVCore"); string path = GetPath("<TVCORE>"); if (!Directory.Exists(path)) Directory.CreateDirectory(path); }
public PathManagerWrapper(bool isTVE3) { // Set custom folder for TVE3 or TVE3.5. string versionFolder = isTVE3 ? "v3.0" : "v3.5"; _pathManager = ServiceRegistration.Get<Common.PathManager.IPathManager>(); _pathManager.SetPath("TVCORE", "<DATA>\\SlimTVCore\\" + versionFolder); string path = GetPath("<TVCORE>"); if (!Directory.Exists(path)) Directory.CreateDirectory(path); }
public PathManagerWrapper() { _pathManager = ServiceRegistration.Get <Common.PathManager.IPathManager>(); _pathManager.SetPath("TVCORE", "<DATA>\\SlimTVCore"); string path = GetPath("<TVCORE>"); if (!Directory.Exists(path)) { Directory.CreateDirectory(path); } }
public PathManagerWrapper(bool isTVE3) { // Set custom folder for TVE3 or TVE3.5. string versionFolder = isTVE3 ? "v3.0" : "v3.5"; _pathManager = ServiceRegistration.Get <Common.PathManager.IPathManager>(); _pathManager.SetPath("TVCORE", "<DATA>\\SlimTVCore\\" + versionFolder); string path = GetPath("<TVCORE>"); if (!Directory.Exists(path)) { Directory.CreateDirectory(path); } }