Skip to content

Commit 7a49d8f

Browse files
committed
Fix missing thumbnail in factorio publish package
1 parent 6d39ae8 commit 7a49d8f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

changelog.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---------------------------------------------------------------------------------------------------
22
Version: 0.1.1
3+
Changes:
4+
- Fix missing thumbnail on mod portal
35
---------------------------------------------------------------------------------------------------
46
Version: 0.1.0
57
Date: 2021-10-25

scripts/publish.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ if not args.skip_package then
279279
end)())
280280

281281
root_filenames[#root_filenames+1] = "info.json"
282+
root_filenames[#root_filenames+1] = "thumbnail.png"
282283
seven_zip("a", "-tzip", "-mx9", zip_path:str(), table.unpack(root_filenames))
283284

284285
-- move all files in the zip archive into a `phobos` sub dir

0 commit comments

Comments
 (0)