From 20f0f9c0abb01cab35ae773a15f8cf4eb7cdbf4f Mon Sep 17 00:00:00 2001 From: cptbtptpbcptdtptp Date: Wed, 17 Sep 2025 17:40:10 +0800 Subject: [PATCH] feat: update code --- scripts/build-editor-preload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-editor-preload.js b/scripts/build-editor-preload.js index 720cc0b32..30be144c8 100644 --- a/scripts/build-editor-preload.js +++ b/scripts/build-editor-preload.js @@ -106,7 +106,7 @@ if (useNpmArg) { // Install packages try { - execSync("npm install", { stdio: "inherit", cwd: tempDir }); + execSync("pnpm install", { stdio: "inherit", cwd: tempDir }); } catch (error) { console.error("Failed to install second-party packages:", error); process.exit(1);