Skip to content

Commit 39f1eaa

Browse files
committed
Pack thumbnails with every builds
1 parent 2b3f32b commit 39f1eaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TkSharp.Packaging/TkProject.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ public async ValueTask Package(Stream output, ITkRom rom, CancellationToken ct =
3434
TkLog.Instance.LogInformation("Packaging '{ModName}'", Mod.Name);
3535

3636
ArchiveModWriter writer = new();
37-
PackThumbnails(writer);
38-
3937
await Build(writer, rom, ct: ct);
4038

4139
using MemoryStream contentArchiveOutput = new();
@@ -48,6 +46,8 @@ public async ValueTask Package(Stream output, ITkRom rom, CancellationToken ct =
4846

4947
public async ValueTask Build(ITkModWriter writer, ITkRom rom, ITkSystemSource? systemSource = null, CancellationToken ct = default)
5048
{
49+
PackThumbnails(writer);
50+
5151
FolderModSource source = new(FolderPath);
5252
Mod.Changelog = await Build(Mod, source, writer, rom, systemSource, ct);
5353

0 commit comments

Comments
 (0)