mirror of
https://github.com/daydreamer-json/ak-endfield-api-archive.git
synced 2026-03-22 07:12:28 +01:00
Merge pull request #1 from Vivi029/main
feat: add Google Play Games support
This commit is contained in:
@@ -19,6 +19,7 @@ network:
|
||||
subChannel:
|
||||
osWinRel: 6
|
||||
osWinRelEpic: 801
|
||||
osWinRelGooglePlay: 802
|
||||
base:
|
||||
accountService: YXMuZ3J5cGhsaW5lLmNvbQ==
|
||||
launcher: bGF1bmNoZXIuZ3J5cGhsaW5lLmNvbS9hcGk=
|
||||
|
||||
@@ -94,6 +94,13 @@ async function mainCmdHandler() {
|
||||
launcherSubChannel: 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) {
|
||||
|
||||
@@ -22,7 +22,7 @@ type ConfigType = AllRequired<
|
||||
u8: { osWinRel: string };
|
||||
};
|
||||
channel: { osWinRel: number };
|
||||
subChannel: { osWinRel: number; osWinRelEpic: number };
|
||||
subChannel: { osWinRel: number; osWinRelEpic: number, osWinRelGooglePlay: number };
|
||||
base: {
|
||||
accountService: string;
|
||||
launcher: string;
|
||||
@@ -69,7 +69,7 @@ const initialConfig: ConfigType = {
|
||||
u8: { osWinRel: '973bd727dd11cbb6ead8' },
|
||||
},
|
||||
channel: { osWinRel: 6 },
|
||||
subChannel: { osWinRel: 6, osWinRelEpic: 801 },
|
||||
subChannel: { osWinRel: 6, osWinRelEpic: 801, osWinRelGooglePlay: 802 },
|
||||
base: {
|
||||
accountService: 'YXMuZ3J5cGhsaW5lLmNvbQ==',
|
||||
launcher: 'bGF1bmNoZXIuZ3J5cGhsaW5lLmNvbS9hcGk=',
|
||||
|
||||
Reference in New Issue
Block a user