Merge pull request #2829 from cptbtptpbcptdtptp/script/Recover

Recover `scripts/build-editor-preload.js` for 1.5
This commit is contained in:
Bo Kou
2025-09-18 16:23:19 +08:00
committed by GitHub

View File

@@ -106,7 +106,7 @@ if (useNpmArg) {
// Install packages
try {
execSync("pnpm install", { stdio: "inherit", cwd: tempDir });
execSync("npm install", { stdio: "inherit", cwd: tempDir });
} catch (error) {
console.error("Failed to install second-party packages:", error);
process.exit(1);