serve: app-centric portfolio (apps across iOS / Android, release trains, catalog parity) and local tool detection
- portfolio.status returns apps: identity with both platforms, offline config check, release trains (current = highest version live on a store, next = highest above it; per-store phase, build, rollout fraction) and catalog parity (config vs both stores) when live - inspect --json adds product ids and the subscription count - system.tools: ffmpeg, ffprobe, Chrome / Chrome for Testing, Xcode tools, simctl, adb, git with versions and source; STOREBOUND_TOOL_PATH (front of PATH for every command) and STOREBOUND_CHROME (Playwright executablePath) let the desktop app hand over its own copies
This commit is contained in:
parent
3454a9aadb
commit
347fcc3cca
10 changed files with 393 additions and 35 deletions
|
|
@ -17,6 +17,9 @@ async function chromium(root: string): Promise<any> {
|
|||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
export async function launch(root: string, opts: Record<string, unknown>): Promise<any> {
|
||||
const c = await chromium(root);
|
||||
// the desktop app's own Chrome for Testing (or any Chrome the user points at)
|
||||
const exe = process.env.STOREBOUND_CHROME;
|
||||
if (exe) { try { return await c.launch({ ...opts, executablePath: exe }); } catch { /* fall back below */ } }
|
||||
try { return await c.launch(opts); } catch (e) {
|
||||
try { return await c.launch({ ...opts, channel: 'chrome' }); } catch { throw e; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue