Core: add platforms field to manifest

This commit is contained in:
Berserker
2026-03-05 00:38:16 +01:00
parent b372b02273
commit 41eba5a2f6
5 changed files with 17 additions and 0 deletions

View File

@@ -409,6 +409,7 @@ class BuildExeCommand(cx_Freeze.command.build_exe.build_exe):
apworld = APWorldContainer(str(zip_path))
apworld.minimum_ap_version = version_tuple
apworld.maximum_ap_version = version_tuple
apworld.platforms = [sys.platform]
apworld.game = worldtype.game
manifest.update(apworld.get_manifest())
apworld.manifest_path = f"{file_name}/archipelago.json"