Mimic macOS bundling behavior for Windows builds (#61180)

Rei-mplements the logic from
https://github.com/zed-industries/zed/blob/9552acc2bc242d45342fa9b5a987d43868aee1ec/script/bundle-mac#L120-L123
for Windows bundling so that `run-bundling` label in CI can build
unsigned Windows binaries properly.

Release Notes:

- N/A
dde45ff092Kirill Bulatov committed on 7/17/2026, 9:01:06 AM· committed by GitHubparent6d66d57
2 files changedLine totals unavailable