mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
12 lines
486 B
TypeScript
12 lines
486 B
TypeScript
import "./utils/hideChildConsoles.js";
|
|
import "./utils/windowsExeSearch.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 [projectDir, ...due] = process.argv.slice(2);
|
|
await Promise.allSettled([
|
|
due.includes("update") && checkForUpdate(),
|
|
due.includes("skills") && refreshSkillsCache(projectDir),
|
|
]);
|