mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-15 22:08:03 +00:00
* ci(windows): probe that a render opens no visible window * ci(windows): the probe names what opened each window * ci(windows): the probe spawns each binary alone, with and without detached * ci(windows): the probe logs the processes started during the render * ci(windows): the probe also spawns Chrome one consoleless hop down * ci(windows): the probe logs each child started without windowsHide * ci(windows): the probe logs every child process with its windowsHide and detached * fix(engine): Chrome keeps the CLI's console on Windows, so a render opens no window * fix(cli): every child the CLI starts on Windows is hidden unless it opts out * ci(windows): the probe bisects Chrome's flags and keeps each command's output * ci(windows): the probe names the Chrome process behind each window * ci(windows): the probe loads a page in Chrome directly and one hidden hop down * ci(windows): the probe prints the Chrome main command line and renders with the reporter's flags * ci(windows): the probe narrows the CLI's Chrome arguments to the ones that open a window * ci(windows): the probe launches the CLI's Chrome arguments one hidden hop down * ci(windows): the probe launches Chrome through the engine's browser pool * ci(windows): the probe varies what the engine passes to Puppeteer * fix(engine): renders on Windows launch Chrome with a Puppeteer that keeps it attached * refactor(cli): hideChildConsoles copies its arguments and keeps one comment line
11 lines
421 B
TypeScript
11 lines
421 B
TypeScript
import "./utils/hideChildConsoles.js";
|
|
import { checkForUpdate } from "./utils/updateCheck.js";
|
|
import { refreshSkillsCache } from "./utils/skillsUpdateCheck.js";
|
|
|
|
// Detached child of launchBackgroundChecks: refreshes the caches the next run's notices read.
|
|
const due = process.argv.slice(2);
|
|
await Promise.allSettled([
|
|
due.includes("update") && checkForUpdate(),
|
|
due.includes("skills") && refreshSkillsCache(),
|
|
]);
|