From 7845df30fd969b4955302eb902d69db0b5855234 Mon Sep 17 00:00:00 2001 From: Zkitefly <2573874409@qq.com> Date: Sun, 25 Aug 2024 01:14:27 +0000 Subject: [PATCH] Update main.py --- forge/scripts/main.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/forge/scripts/main.py b/forge/scripts/main.py index 7687167..e05c924 100644 --- a/forge/scripts/main.py +++ b/forge/scripts/main.py @@ -27,7 +27,7 @@ def process_version(version): "mcversion": mcversion, "modified": 0, "version": forgeversion, - "files": [["txt","changelog"],["jar","installer"]], + "files": [["jar","installer"]], # "rawversion": version } @@ -40,15 +40,15 @@ def process_json(input_file, output_file): mcversion_data = {} numbered_data = { - "adfocus": "271228", + # "adfocus": "271228", "artifact": "forge", - "homepage": "https://files.minecraftforge.net/maven/net/minecraftforge/forge/", - "name": "Minecraft Forge", + # "homepage": "https://files.minecraftforge.net/maven/net/minecraftforge/forge/", + # "name": "Minecraft Forge", "webpath": "https://files.minecraftforge.net/maven/net/minecraftforge/forge/", - "branches": {}, + # "branches": {}, "mcversion": {}, "number": {}, - "promos": {} + # "promos": {} } for version_data in processed_versions: @@ -79,4 +79,4 @@ def process_json(input_file, output_file): if __name__ == "__main__": process_json("forge-maven-metadata.json", "index.json") - os.remove("forge-maven-metadata.json") \ No newline at end of file + os.remove("forge-maven-metadata.json")