mirror of
https://github.com/wavetermdev/waveterm
synced 2026-04-21 14:37:16 +00:00
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.
11 lines
367 B
JavaScript
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" });
|
|
});
|