Skip to content

Commit

Permalink
deps.macos: Fix broken symlinks in Sparkle framework
Browse files Browse the repository at this point in the history
Framework bundles require specific symlink structures to resolve the
current version. Copying with the `-R` and `-p` switches ensures that
symlinks are retained as well as file attributes.
  • Loading branch information
PatTheMav committed Mar 6, 2023
1 parent 6c5fe70 commit 1502956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps.macos/90-sparkle.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ install() {
log_info "Install (%F{3}${target}%f)"

cd "${dir}"
cp -r Sparkle.framework "${target_config[output_dir]}"/lib
cp -r Symbols/Sparkle.framework.dSYM "${target_config[output_dir]}"/lib
cp -Rp Sparkle.framework "${target_config[output_dir]}"/lib
cp -Rp Symbols/Sparkle.framework.dSYM "${target_config[output_dir]}"/lib
}

0 comments on commit 1502956

Please sign in to comment.