waveterm/postinstall.cjs
Mike Sawka 9abd590176
UI only preview server (+ deployments) (#2919)
adds a new "preview server" for UI testing. hooking up to cloudflare
pages deployments. for now, just a test "about modal" component. will
add more later.
2026-02-23 12:48:28 -08:00

11 lines
367 B
JavaScript

const skip =
process.env.WAVETERM_SKIP_APP_DEPS === "1" || process.env.CF_PAGES === "1" || process.env.CF_PAGES === "true";
if (skip) {
console.log("postinstall: skipping electron-builder install-app-deps");
process.exit(0);
}
import("child_process").then(({ execSync }) => {
execSync("electron-builder install-app-deps", { stdio: "inherit" });
});