Skip to content

Commit d1f1304

Browse files
fix: add -s flag to xattr command to skip symlinks in macOS CI builds
The xattr command was failing in CI when encountering pnpm symlinks that point to non-existent store locations. Adding the -s flag tells xattr to skip symbolic links, preventing "No such file" errors while still clearing extended attributes from actual files. This fixes macOS CI build failures without affecting the intended functionality of removing quarantine and other extended attributes. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 040b200 commit d1f1304

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/desktop-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ jobs:
257257
source-path: darwin
258258

259259
- name: "Remove crud files"
260-
run: xattr -cr .
260+
run: xattr -crs .
261261

262262
- name: "Set electron-builder props"
263263
run: echo "ELECTRON_BUILDER_PROPS=-c.publish.bucket=$S3_BUCKET" >> $GITHUB_ENV

0 commit comments

Comments
 (0)