setup only

This commit is contained in:
John Doe
2026-02-02 13:39:25 -05:00
parent 8fc0044cb9
commit 8bc517c6ff

View File

@@ -62,6 +62,11 @@ export default defineEventHandler(async (h3) => {
},
},
},
setups: {
select: {
platform: true,
},
},
},
});
@@ -94,6 +99,12 @@ export default defineEventHandler(async (h3) => {
}
}
// Also include setup-only platforms
for (const setup of v.setups) {
if (!platformOptions.has(setup.platform))
platformOptions.set(setup.platform, []);
}
const versionSize = await gameSizeManager.getVersionSize(v.versionId);
return platformOptions