From 89fe60d3c6447fa9fab30dc7f1f489245a355e4e Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Sun, 17 Dec 2023 16:42:58 +0000 Subject: [PATCH 1/6] add RequiresRestart --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f5d8d95..b5c8941 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,11 @@ This verified mods enables players to join servers that require custom content s Verified mods are listed in the present `verified-mods.json` file, using following format: * Key is mod's name (contained in its `mod.json` manifest's "Name" key); -* Body holds three fields: +* Body holds four fields: * "DependencyPrefix" contains the string that allows Northstar to retrieve mods on Thunderstore; * "Repository" contains the link of the repository hosting the source code of the mod; - * "Versions" contains a list of version (for the current mod) that have been verified. + * "Versions" contains a list of version (for the current mod) that have been verified; + * "RequiresRestart" contains a boolean for if the mod requires a game restart to be loaded properly. ## How to submit a mod for verification From 257bc85e926b97c2b0f05f67bdbe1ff666a89893 Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Sun, 17 Dec 2023 16:43:45 +0000 Subject: [PATCH 2/6] Add `RequiresRestart` field --- verified-mods.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/verified-mods.json b/verified-mods.json index 28cd2e6..c2dce9f 100644 --- a/verified-mods.json +++ b/verified-mods.json @@ -8,6 +8,7 @@ "CommitHash": "f27b8f1f05d5278aa8f47ead2d9e70f39f274173", "Checksum": "670987e07806e8dffcb591bad8724f29abc18d9baa304d9ab4fae7804bd86bc2" } - ] + ], + "RequiresRestart": false } } From 1810342b1550b096a34656c0f2f9a194bf3ba829 Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Sun, 17 Dec 2023 16:44:20 +0000 Subject: [PATCH 3/6] move RequiresRestart to Versions --- verified-mods.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/verified-mods.json b/verified-mods.json index c2dce9f..069b4ef 100644 --- a/verified-mods.json +++ b/verified-mods.json @@ -6,9 +6,9 @@ { "Version": "0.0.5", "CommitHash": "f27b8f1f05d5278aa8f47ead2d9e70f39f274173", - "Checksum": "670987e07806e8dffcb591bad8724f29abc18d9baa304d9ab4fae7804bd86bc2" + "Checksum": "670987e07806e8dffcb591bad8724f29abc18d9baa304d9ab4fae7804bd86bc2", + "RequiresRestart": false } - ], - "RequiresRestart": false + ] } } From 7fc7747d8200ded41b8a17308740f8d3873a23ca Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Sun, 17 Dec 2023 16:45:42 +0000 Subject: [PATCH 4/6] Undo change due to moved RequiresRestart --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b5c8941..f5d8d95 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,10 @@ This verified mods enables players to join servers that require custom content s Verified mods are listed in the present `verified-mods.json` file, using following format: * Key is mod's name (contained in its `mod.json` manifest's "Name" key); -* Body holds four fields: +* Body holds three fields: * "DependencyPrefix" contains the string that allows Northstar to retrieve mods on Thunderstore; * "Repository" contains the link of the repository hosting the source code of the mod; - * "Versions" contains a list of version (for the current mod) that have been verified; - * "RequiresRestart" contains a boolean for if the mod requires a game restart to be loaded properly. + * "Versions" contains a list of version (for the current mod) that have been verified. ## How to submit a mod for verification From da580fe57005d1f27333dcde3d8e949c4aabf2d1 Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Sun, 17 Dec 2023 16:55:03 +0000 Subject: [PATCH 5/6] Add RequiresRestart to the schema --- .github/schema.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/schema.json b/.github/schema.json index 11ecd21..d9b9da4 100644 --- a/.github/schema.json +++ b/.github/schema.json @@ -35,7 +35,10 @@ "pattern": "^([0-9a-f]+)$", "minLength": 40, "maxLength": 40 - } + }, + "RequiresRestart": { + "type": "boolean" + } }, "required": [ "Version", "Checksum", "CommitHash" ] } From 1b3d4ddae77415818fb3ab1a641c197165be530d Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Sun, 17 Dec 2023 16:55:29 +0000 Subject: [PATCH 6/6] make RequiresRestart required --- .github/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/schema.json b/.github/schema.json index d9b9da4..dec701f 100644 --- a/.github/schema.json +++ b/.github/schema.json @@ -40,7 +40,7 @@ "type": "boolean" } }, - "required": [ "Version", "Checksum", "CommitHash" ] + "required": [ "Version", "Checksum", "CommitHash", "RequiresRestart" ] } } },