Skip to content

Commit

Permalink
chore(script): add bash script for macos (#1733)
Browse files Browse the repository at this point in the history
  • Loading branch information
stavares843 authored Jan 19, 2024
1 parent f1fdaf6 commit 86fe256
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ cargo run --bin uplink --profile=rapid
| ffmpeg | brew install ffmpeg |
| audio opus | brew install opus |

For this to work, we need to install `ffmpeg` -> `brew install ffmpeg` for macOS

And for Windows, I followed the steps on this site here:
You can also run [macos-install_dependencies.sh](https://github.com/Satellite-im/Uplink/blob/sara/add-macos-script/macos-install_dependencies.sh) to install all of the above in bulk.

**Windows 10+**
| Dep | Install Command |
Expand Down
13 changes: 13 additions & 0 deletions macos-install_dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

# Install Xcode Command Line Tools
xcode-select --install

# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Install CMake, FFmpeg and Opus
brew install cmake ffmpeg opus

0 comments on commit 86fe256

Please sign in to comment.