oops, wrong change made

This commit is contained in:
Adam Hathcock
2026-03-06 15:39:07 +00:00
parent e6a179bdb5
commit b05a16d007
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ public static class IWritableArchiveExtensions
{
var fileInfo = new FileInfo(filePath);
writableArchive.AddEntry(
Path.GetFileName(filePath),
filePath.Substring(directoryPath.Length),
fileInfo.OpenRead(),
true,
fileInfo.Length,

View File

@@ -29,7 +29,7 @@ public static class IWritableAsyncArchiveExtensions
var fileInfo = new FileInfo(filePath);
await writableArchive
.AddEntryAsync(
Path.GetFileName(filePath),
filePath.Substring(directoryPath.Length),
fileInfo.OpenRead(),
true,
fileInfo.Length,