Skip to content

Commit 6cbe7ff

Browse files
committed
Strip cross-platform pvrecorder native binaries from Windows packaging
@github/copilot now pulls in @picovoice/pvrecorder-node, which ships pv_recorder.node binaries for mac, linux, and windows under lib/. rcedit.exe cannot process the non-Windows variants and aborts the Windows packaging step. Strip lib/mac/** and lib/linux/** from the build via .moduleignore; keep lib/windows/** intact.
1 parent 52cc884 commit 6cbe7ff

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

build/.moduleignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,3 +252,9 @@ es5-ext/**
252252
# foundry-local-sdk ships per-platform .node binaries under prebuilds/.
253253
# Same rcedit incompatibility as above.
254254
foundry-local-sdk/prebuilds/**
255+
256+
# @picovoice/pvrecorder-node (nested under @github/copilot/pvrecorder) ships
257+
# pv_recorder.node binaries under lib/{mac,linux,windows}/. Keep windows/ so
258+
# the Windows build retains its native binary; strip the rest.
259+
@picovoice/pvrecorder-node/lib/mac/**
260+
@picovoice/pvrecorder-node/lib/linux/**

0 commit comments

Comments
 (0)