feat: add Google Play Games support

This commit is contained in:
Vivi029
2026-02-06 09:07:18 +01:00
committed by GitHub
parent 21ac911bb5
commit b5c2ff7676
2 changed files with 9 additions and 2 deletions

View File

@@ -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) {

View File

@@ -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=',