fix(js): update Electron build configuration and dependencies (#411)

This commit is contained in:
Haze
2026-03-11 15:40:08 +08:00
committed by GitHub
Unverified
parent a575977e3c
commit 4c786915c8
8 changed files with 20 additions and 15 deletions

View File

@@ -86,7 +86,7 @@ function bundleOnePlugin({ npmName, pluginId }) {
throw new Error(`Missing dependency "${npmName}". Run pnpm install first.`);
}
const realPluginPath = fs.realpathSync(normWin(pkgPath));
const realPluginPath = fs.realpathSync(pkgPath);
const outputDir = path.join(OUTPUT_ROOT, pluginId);
echo`📦 Bundling plugin ${npmName} -> ${outputDir}`;
@@ -126,7 +126,7 @@ function bundleOnePlugin({ npmName, pluginId }) {
let realPath;
try {
realPath = fs.realpathSync(normWin(fullPath));
realPath = fs.realpathSync(fullPath);
} catch {
continue;
}