Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zkitefly authored Aug 25, 2024
1 parent dca66c2 commit 7845df3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions forge/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def process_version(version):
"mcversion": mcversion,
"modified": 0,
"version": forgeversion,
"files": [["txt","changelog"],["jar","installer"]],
"files": [["jar","installer"]],
# "rawversion": version
}

Expand All @@ -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:
Expand Down Expand Up @@ -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")
os.remove("forge-maven-metadata.json")

0 comments on commit 7845df3

Please sign in to comment.