feat: support x64/arm64 macOS builds and fix build script errors

This commit is contained in:
tianshuang committed 2026-02-07 21:34:40 +08:00
1 parent b42d3d2ad8
commit b9d68d5051
4 files changed
+8 -6

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ function resolveStandaloneSymlinks() {
const target = fs.readlinkSync(fullPath);
const resolved = path.resolve(standaloneModules, target);
if (fs.existsSync(resolved)) {
fs.rmSync(fullPath);
fs.rmSync(fullPath, { recursive: true, force: true });
fs.cpSync(resolved, fullPath, { recursive: true });
console.log(`Resolved symlink: ${entry} -> ${target}`);
}