games status: both stores' game services in one read-only report (CLI, MCP games_status, desktop read method); --json status output stays pure JSON
This commit is contained in:
parent
a4c31e096b
commit
26f0723641
7 changed files with 23 additions and 4 deletions
|
|
@ -65,7 +65,7 @@ export async function run(ctx: Ctx): Promise<void> {
|
|||
const plan = planGameCenter(g, config.languages, s);
|
||||
const project = gcFindings(config, readProjectEntitlements(root));
|
||||
|
||||
if (a.has('json')) { console.log(JSON.stringify({ ...stateSummary(s, plan), project, plan }, null, 2)); if (sub === 'status') return; }
|
||||
if (a.has('json')) { console.log(JSON.stringify({ ...stateSummary(s, plan), project, plan }, null, 2)); return; }
|
||||
if (s.capability === false) warn(TAG, `the App ID ${bundleId} has no GAME_CENTER capability: storebound apple signing ensure --dry, then without --dry (games.gameCenter adds it)`);
|
||||
if (s.capability === null) warn(TAG, `bundle id ${bundleId} not found in Certificates, Identifiers & Profiles: storebound apple bundle`);
|
||||
for (const f of project) (f.level === 'ok' ? log : warn)(TAG, `${f.msg}${f.fix ? ` (${f.fix})` : ''}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue