/// <summary> /// Instantiates a ZiPatchFile from a file path /// </summary> /// <param name="filepath">Path to patch file</param> public static ZiPatchFile FromFileName(string filepath) { var stream = SqexFileStream.WaitForStream(filepath, FileMode.Open); Log.Verbose($"Patch at {filepath} opened"); return(new ZiPatchFile(stream)); }
/// <summary> /// Instantiates a ZiPatchFile from a file path /// </summary> /// <param name="filepath">Path to patch file</param> public static ZiPatchFile FromFileName(string filepath) { var stream = SqexFileStream.WaitForStream(filepath, FileMode.Open); return(new ZiPatchFile(stream)); }