public bool AddPackagePath(string fullPath) { var directoryName = Path.GetDirectoryName(fullPath); if (!FileManager.Exists(directoryName)) return false; fullPath = fullPath.Replace("\\", "/"); PackagePaths.Add(fullPath); return true; }