Merge pull request #1 from Vivi029/main

feat: add Google Play Games support
This commit is contained in:
daydreamer-json
2026-02-07 06:59:57 +09:00
committed by GitHub
3 changed files with 10 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ network:
subChannel:
osWinRel: 6
osWinRelEpic: 801
osWinRelGooglePlay: 802
base:
accountService: YXMuZ3J5cGhsaW5lLmNvbQ==
launcher: bGF1bmNoZXIuZ3J5cGhsaW5lLmNvbS9hcGk=

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