mirror of
https://github.com/daydreamer-json/ak-endfield-api-archive.git
synced 2026-03-25 00:32:33 +01:00
feat: add support for cross-platform game resources
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user