feat: prepare self-contained open-source release

This commit is contained in:
luckyyzh
2026-07-31 03:18:50 +08:00
parent 7392ab9dd7
commit 6c2f88e44a
33 changed files with 1304 additions and 135 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { join } from "node:path";
import { managedEnvironment, rootDir } from "./profile.mjs";
const target = process.argv[2] ?? "dev";
const allowedTargets = new Set(["dev", "dev:lan", "start", "start:lan"]);
const allowedTargets = new Set(["build", "dev", "dev:lan", "start", "start:lan"]);
if (!allowedTargets.has(target)) {
console.error(`Unsupported Pi Web script: ${target}`);
process.exit(2);