code cleanup and added missed summary
This commit is contained in:
parent
ed0d4b9a3c
commit
532aba2387
@ -78,11 +78,11 @@ namespace SPT_AKI_Installer.Aki.Helper
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Finds folder with name supplied
|
/// Finds folder with name supplied, out = directory for extracted patch folder
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="patchRef"></param>
|
/// <param name="patchRef"></param>
|
||||||
/// <param name="dir"></param>
|
/// <param name="dir"></param>
|
||||||
/// <returns></returns>
|
/// <returns>bool</returns>
|
||||||
public static bool FindFolder(string patchRef, string targetPath, out DirectoryInfo dir)
|
public static bool FindFolder(string patchRef, string targetPath, out DirectoryInfo dir)
|
||||||
{
|
{
|
||||||
var patchInfo = new FileInfo(patchRef);
|
var patchInfo = new FileInfo(patchRef);
|
||||||
|
@ -36,22 +36,6 @@ namespace SPT_AKI_Installer.Aki.Helper
|
|||||||
task.Increment(1);
|
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
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user