mirror of
https://github.com/BillyOutlast/drop.git
synced 2026-02-04 08:41:17 +01:00
setup only
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user