Skip to content

Commit

Permalink
Cleanup Framework directory when re-bundling for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneToIgnore committed Nov 7, 2024
1 parent 4f62ebe commit e5dc9aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/bundle-mac
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ function sign_app_binaries() {
local architecture=$2
local architecture_dir=$3
echo "Copying WebRTC.framework into the frameworks folder"
mkdir "${app_path}/Contents/Frameworks"
rm -rf "${app_path}/Contents/Frameworks"
mkdir -p "${app_path}/Contents/Frameworks"
if [ "$local_arch" = false ]; then
cp -R target/${local_target_triple}/${target_dir}/WebRTC.framework "${app_path}/Contents/Frameworks/"
else
Expand Down

0 comments on commit e5dc9aa

Please sign in to comment.