From 6478475e4f2d36bcbcd6bf46b9260ba29c16225f Mon Sep 17 00:00:00 2001 From: Ben C Date: Wed, 3 Jan 2024 09:23:57 -0500 Subject: [PATCH] Manifest donate links (#562) --- schemas/manifest_schema.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/schemas/manifest_schema.json b/schemas/manifest_schema.json index 696bbcc0..d1f3b60f 100644 --- a/schemas/manifest_schema.json +++ b/schemas/manifest_schema.json @@ -169,8 +169,16 @@ }, "donateLink": { "type": "string", - "description": "Provide a link for donations. This will appear as a button in the mod manager", + "description": "[DEPRECATED] Please use `donateLinks` instead.", "pattern": "(?:^https://(?:www\\.)?patreon\\.com/\\w+$)|(?:^https://(?:www\\.)?paypal\\.me/\\w+$)" + }, + "donateLinks": { + "type": "array", + "description": "Specify links to be displayed in the mod manager for the mod, currently `PayPal`, `Patreon`, `Buymeacoffee`, `CashApp`, and `Kofi` are available", + "items": { + "type": "string", + "pattern": "^https://(www\\.)?(github.com|outerwildsmods.com|paypal.me|patreon.com|buymeacoffee.com|cash.app|ko-fi.com)/" + } } } }