1
0

png -> jpg

This commit is contained in:
Ö. Efe D.
2025-01-01 20:18:35 +01:00
parent 3c33f86b23
commit b9f0b08f01
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ jobs:
for dir in mods/*/; do for dir in mods/*/; do
if [ -d "$dir" ]; then if [ -d "$dir" ]; then
MOD_DIR="$(basename "$dir")" MOD_DIR="$(basename "$dir")"
THUMBNAIL="$dir/thumbnail.png" THUMBNAIL="$dir/thumbnail.jpg"
if [ -f "$THUMBNAIL" ]; then if [ -f "$THUMBNAIL" ]; then
# Extract width and height using ImageMagick # Extract width and height using ImageMagick

View File

@@ -45,7 +45,7 @@ This file stores essential metadata in JSON format. **Make sure you adhere to th
- **repo**: A link to your mods repository. - **repo**: A link to your mods repository.
- **downloadURL**: A direct link to the latest version of your released mod. (Can be same as `repo` if no separate download link exists.) - **downloadURL**: A direct link to the latest version of your released mod. (Can be same as `repo` if no separate download link exists.)
### 3. thumbnail.png (Optional) ### 3. thumbnail.jpg (Optional)
If included, this image will appear alongside your mod in the index. Maximum and recommended size is 1920 × 500 pixels. If included, this image will appear alongside your mod in the index. Maximum and recommended size is 1920 × 500 pixels.
## How to Publish ## How to Publish