png -> jpg
This commit is contained in:
2
.github/workflows/check-mod.yml
vendored
2
.github/workflows/check-mod.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ This file stores essential metadata in JSON format. **Make sure you adhere to th
|
|||||||
- **repo**: A link to your mod’s repository.
|
- **repo**: A link to your mod’s 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
|
||||||
|
|||||||
Reference in New Issue
Block a user