#!/usr/bin/env node import { spawnSync } from "node:child_process"; import { fileURLToPath } from "node:url"; const target = fileURLToPath(new URL("../web/tools/sync-assets.mjs", import.meta.url)); const result = spawnSync(process.execPath, [target, ...process.argv.slice(2)], { stdio: "inherit" }); if (result.error) throw result.error; if (result.signal) process.kill(process.pid, result.signal); process.exit(result.status ?? 1);