feat: add support for cross-platform game resources

This commit is contained in:
daydreamer-json
2026-01-26 15:10:42 +09:00
parent 45be4f3067
commit b0abcdf81a
19 changed files with 543 additions and 64 deletions

View File

@@ -61,7 +61,7 @@ export default {
gameVersion: string, // example: 1.0
version: string,
randStr: string,
platform: 'Windows' = 'Windows',
platform: 'Windows' | 'Android' | 'iOS' | 'PlayStation',
): Promise<TypesApiAkEndfield.LauncherLatestGameResources> => {
if (!semver.valid(version)) throw new Error(`Invalid version string (${version})`);
const rsp = await ky