code cleanup and added missed summary

This commit is contained in:
CWX 2022-05-14 14:21:58 +01:00
parent ed0d4b9a3c
commit 532aba2387
2 changed files with 2 additions and 18 deletions

View File

@ -78,11 +78,11 @@ namespace SPT_AKI_Installer.Aki.Helper
}
/// <summary>
/// Finds folder with name supplied
/// Finds folder with name supplied, out = directory for extracted patch folder
/// </summary>
/// <param name="patchRef"></param>
/// <param name="dir"></param>
/// <returns></returns>
/// <returns>bool</returns>
public static bool FindFolder(string patchRef, string targetPath, out DirectoryInfo dir)
{
var patchInfo = new FileInfo(patchRef);

View File

@ -36,22 +36,6 @@ namespace SPT_AKI_Installer.Aki.Helper
task.Increment(1);
}
});
//Stream stream = File.OpenRead(zipPath);
//var reader = ReaderFactory.Open(stream);
//while (reader.MoveToNextEntry())
//{
// if (!reader.Entry.IsDirectory)
// {
// Console.WriteLine(reader.Entry.Key);
// reader.WriteEntryToDirectory(extPath, new ExtractionOptions()
// {
// ExtractFullPath = true,
// Overwrite = true
// });
// }
//}
}
}
}