mirror of
https://github.com/got-feedBack/feedBack-desktop.git
synced 2026-07-19 19:31:31 +00:00
build(windows): dereference plugin-tree symlinks when bundling
rig_builder now ships vst/src/{pedals,racks}/_shared -> ../_shared; Git
Bash cp -R fails to recreate symlinks without SeCreateSymbolicLink. The
bundle wants real files anyway — copy with -L.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
1359c7c24d
commit
503f665865
@ -121,7 +121,11 @@ copy_plugin() {
|
||||
local dst="$2"
|
||||
mkdir -p "$dst"
|
||||
# Use cp -R rather than -r for portable symlink-following semantics.
|
||||
cp -R "$src/." "$dst/"
|
||||
# -L dereferences symlinks INSIDE the tree (rig_builder's
|
||||
# vst/src/*/_shared -> ../_shared): Git Bash cannot create symlinks
|
||||
# without Developer Mode / SeCreateSymbolicLink, and the bundle wants
|
||||
# real files anyway.
|
||||
cp -RL "$src/." "$dst/"
|
||||
find "$dst" -name '.git' -type d -prune -exec rm -rf {} +
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user