# Fix mac bundling errors \(\#9848\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/63f17c50b9f2ca7d8ce0381fd58d5ac9930dfdf3)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 63f17c50b9f2ca7d8ce0381fd58d5ac9930dfdf3

Requested commit: 63f17c50b9f2ca7d8ce0381fd58d5ac9930dfdf3

Commit: 63f17c50b9f2ca7d8ce0381fd58d5ac9930dfdf3

Tree: 244651991049d3561fe6f8b45d55ad5619b7c25f

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Fix mac bundling errors (#9848)

Based on
https://github.com/zed-industries/zed/pull/8952#issuecomment-2021693384
and
https://github.com/zed-industries/zed/pull/8952#issuecomment-2022241455

Fixes `./script/bundle-mac -l` workflow errors

* Use proper WebRTC.framework location path (without the arch name dir
in its path)

* Fix `./script/bundle-mac -l` behavior that unconditionally installed
the app and broke it on rerun.
Now the installation is done with `-i` flag only and always cleans up
the target dir (always using `-f` flag logic, hence removed it).


Release Notes:

- N/A
```

## Parents

- [140b8418c129897066503956afeb9121d54112eb](https://git.cafe/gitcafe/zed/commit/140b8418c129897066503956afeb9121d54112eb?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/63f17c50b9f2ca7d8ce0381fd58d5ac9930dfdf3?format=markdown)
