From b322504a2912297d62f13fb1b045c40084f01b01 Mon Sep 17 00:00:00 2001 From: Norbyte Date: Fri, 22 Mar 2024 18:00:59 +0100 Subject: [PATCH] Fix incorrect V15 package TOC --- LSLib/LS/PackageWriter.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LSLib/LS/PackageWriter.cs b/LSLib/LS/PackageWriter.cs index 8ff51556..39ed4a46 100644 --- a/LSLib/LS/PackageWriter.cs +++ b/LSLib/LS/PackageWriter.cs @@ -44,7 +44,7 @@ public void Dispose() } } - private bool CanCompressFile(PackageBuildInputFile file, Stream inputStream) + protected bool CanCompressFile(PackageBuildInputFile file, Stream inputStream) { var extension = Path.GetExtension(file.Path).ToLowerInvariant(); return extension != ".gts" @@ -54,7 +54,7 @@ private bool CanCompressFile(PackageBuildInputFile file, Stream inputStream) && inputStream.Length > 0; } - private void WritePadding(Stream stream) + protected void WritePadding(Stream stream) { int padLength = Build.Version.PaddingSize(); long alignTo; @@ -78,7 +78,7 @@ private void WritePadding(Stream stream) stream.Write(pad, 0, pad.Length); } - private PackageBuildTransientFile WriteFile(PackageBuildInputFile input) + protected PackageBuildTransientFile WriteFile(PackageBuildInputFile input) { using var inputStream = input.MakeInputStream();