Skip to content

Commit b1c982b

Browse files
Always strip quarantine from deps in run-debug-macos.sh
macOS SIGKILLs quarantined binaries (ffmpeg/ffprobe/vspipe) on exec, which surfaces as opaque "Failed to run ffmpeg" errors and 0x0 detected dimensions. The removal was gated on one file's current quarantine state and could be skipped; xattr -cr is cheap and idempotent, so run it unconditionally whenever the deps dir exists. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 821e0c8 commit b1c982b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Scripts/run-debug-macos.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,11 @@ cp "$WORKER_DIR/templates/"*.vpy "$DEBUG_APP/Contents/MacOS/templates/"
9090
cp "$WORKER_DIR/templates/pipe_source.py" "$DEBUG_APP/Contents/MacOS/templates/"
9191
cp "$WORKER_DIR/templates/spotless.py" "$DEBUG_APP/Contents/MacOS/templates/"
9292

93-
# Remove quarantine from deps if present
94-
if xattr "$PROJECT_ROOT/deps/macos-arm64/ffmpeg/ffmpeg" 2>/dev/null | grep -q quarantine; then
93+
# Always strip quarantine from deps. macOS SIGKILLs quarantined binaries
94+
# (ffmpeg/ffprobe/vspipe) on exec, which surfaces as opaque "Failed to run
95+
# ffmpeg" / 0x0 dimensions. xattr -cr is cheap and idempotent, so run it
96+
# unconditionally rather than gating on a single file's current state.
97+
if [ -d "$PROJECT_ROOT/deps/macos-arm64/" ]; then
9598
echo " Removing quarantine from deps..."
9699
xattr -cr "$PROJECT_ROOT/deps/macos-arm64/" 2>/dev/null || true
97100
fi

0 commit comments

Comments
 (0)