From a7a4094aafa3625fd9db1aa33e00b1f7bdb8cd0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96=2E=20Efe=20D=2E?= <67526259+skyline69@users.noreply.github.com> Date: Sun, 9 Mar 2025 18:41:24 +0100 Subject: [PATCH] Update README & remove pattern in schema --- README.md | 4 +++- schema/meta.schema.json | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d65c60a5..8a92a7cd 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,8 @@ This file stores essential metadata in JSON format. **Make sure you adhere to th "author": "Joe Mama", "repo": "https://github.com/joemama/extended-cards", "downloadURL": "https://github.com/joemama/extended-cards/releases/latest/extended-cards.tar.gz", - "folderName": "ExtendedCards" + "folderName": "ExtendedCards", + "version": "1.0.0" } ``` @@ -48,6 +49,7 @@ This file stores essential metadata in JSON format. **Make sure you adhere to th - **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.) - *folderName*: (*Optional*) The name for the mod's install folder. This must not contain characters `<` `>` `:` `"` `/` `\` `|` `?` `*` +- *version*: (*Optional*, but **recommended**) The latest version of your mod. ### 3. thumbnail.jpg (Optional) If included, this image will appear alongside your mod in the index. Maximum and recommended size is 1920x1080 pixels. diff --git a/schema/meta.schema.json b/schema/meta.schema.json index c5e95684..6f835217 100644 --- a/schema/meta.schema.json +++ b/schema/meta.schema.json @@ -37,8 +37,7 @@ "pattern": "^[^<>:\"/\\|?*]+$" }, "version": { - "type": "string", - "pattern": "^[^<>:\"/\\|?*]+$" + "type": "string" } }, "required": ["title", "requires-steamodded", "categories", "author", "repo", "downloadURL"]