Skip to content

Commit

Permalink
Fix incorrect V15 package TOC
Browse files Browse the repository at this point in the history
  • Loading branch information
Norbyte committed Mar 22, 2024
1 parent 22e7306 commit b322504
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions LSLib/LS/PackageWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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;
Expand All @@ -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();

Expand Down

0 comments on commit b322504

Please sign in to comment.