fix: address native mac review feedback

This commit is contained in:
Etienne Lescot
2026-05-13 16:18:19 +02:00
parent 179047b834
commit e708ae973e
20 changed files with 149 additions and 69 deletions
@@ -70,6 +70,12 @@ if (result.status !== 0) {
fs.mkdirSync(buildDir, { recursive: true });
fs.mkdirSync(distributableDir, { recursive: true });
for (const artifactPath of [builtHelperPath, builtCursorHelperPath]) {
if (!fs.existsSync(artifactPath)) {
console.error(`Swift build completed but expected artifact was not found: ${artifactPath}`);
process.exit(1);
}
}
fs.copyFileSync(builtHelperPath, localHelperPath);
fs.copyFileSync(builtHelperPath, distributablePath);
fs.copyFileSync(builtCursorHelperPath, localCursorHelperPath);