console fill: sign-in detected by URL, frame and text; keeps watching after the fallback; session kept across relaunches; one login across Play developer accounts and App Store Connect teams

This commit is contained in:
CRTkafa 2026-10-11 18:54:48 +00:00
parent fd89724aeb
commit 024964e748
22 changed files with 1101 additions and 110 deletions

View file

@ -52,6 +52,13 @@ export function appEnv(u: UnifiedApp<AppFolder>, accounts: Account[]): { env: Re
const ref = store === 'apple' ? u.ios : u.android;
return ref ? accounts.find(a => a.id === ref.account)?.profile ?? null : null;
};
// the console ids of the store accounts (not secrets): console fill picks the developer account / team with them
for (const store of ['apple', 'play'] as const) {
const p = profileOf(store);
const acc = p ? accounts.find(a => a.store === store && a.profile === p) : undefined;
if (store === 'play' && acc?.developerId) env.STOREBOUND_PLAY_DEVELOPER_ID = acc.developerId;
if (store === 'apple' && acc?.teamId) env.STOREBOUND_APPLE_TEAM_ID = acc.teamId;
}
for (const store of ['apple', 'play'] as const) {
const p = profileOf(store);
if (!p) continue;