mirror of
https://github.com/daydreamer-json/ak-endfield-api-archive.git
synced 2026-03-27 09:42:28 +01:00
feat: add Google Play Games support
This commit is contained in:
@@ -94,6 +94,13 @@ async function mainCmdHandler() {
|
|||||||
launcherSubChannel: cfg.subChannel.osWinRelEpic,
|
launcherSubChannel: cfg.subChannel.osWinRelEpic,
|
||||||
dirName: String(cfg.subChannel.osWinRelEpic),
|
dirName: String(cfg.subChannel.osWinRelEpic),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'GooglePlay',
|
||||||
|
launcherAppCode: cfg.appCode.launcher.osWinRelEpic,
|
||||||
|
subChannel: cfg.subChannel.osWinRelGooglePlay,
|
||||||
|
launcherSubChannel: cfg.subChannel.osWinRelGooglePlay,
|
||||||
|
dirName: String(cfg.subChannel.osWinRelGooglePlay),
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
for (const target of gameTargets) {
|
for (const target of gameTargets) {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ type ConfigType = AllRequired<
|
|||||||
u8: { osWinRel: string };
|
u8: { osWinRel: string };
|
||||||
};
|
};
|
||||||
channel: { osWinRel: number };
|
channel: { osWinRel: number };
|
||||||
subChannel: { osWinRel: number; osWinRelEpic: number };
|
subChannel: { osWinRel: number; osWinRelEpic: number, osWinRelGooglePlay: number };
|
||||||
base: {
|
base: {
|
||||||
accountService: string;
|
accountService: string;
|
||||||
launcher: string;
|
launcher: string;
|
||||||
@@ -69,7 +69,7 @@ const initialConfig: ConfigType = {
|
|||||||
u8: { osWinRel: '973bd727dd11cbb6ead8' },
|
u8: { osWinRel: '973bd727dd11cbb6ead8' },
|
||||||
},
|
},
|
||||||
channel: { osWinRel: 6 },
|
channel: { osWinRel: 6 },
|
||||||
subChannel: { osWinRel: 6, osWinRelEpic: 801 },
|
subChannel: { osWinRel: 6, osWinRelEpic: 801, osWinRelGooglePlay: 802 },
|
||||||
base: {
|
base: {
|
||||||
accountService: 'YXMuZ3J5cGhsaW5lLmNvbQ==',
|
accountService: 'YXMuZ3J5cGhsaW5lLmNvbQ==',
|
||||||
launcher: 'bGF1bmNoZXIuZ3J5cGhsaW5lLmNvbS9hcGk=',
|
launcher: 'bGF1bmNoZXIuZ3J5cGhsaW5lLmNvbS9hcGk=',
|
||||||
|
|||||||
Reference in New Issue
Block a user