mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-17 23:42:07 +08:00
setup: remove brew (#37669)
This commit is contained in:
@@ -113,24 +113,12 @@ function install_python_deps() {
|
||||
source .venv/bin/activate
|
||||
}
|
||||
|
||||
function install_macos_deps() {
|
||||
if ! command -v brew > /dev/null 2>&1; then
|
||||
echo "homebrew not found, skipping macOS system dependency install"
|
||||
return 0
|
||||
fi
|
||||
|
||||
if ! command -v cmake > /dev/null 2>&1; then
|
||||
brew install cmake
|
||||
fi
|
||||
}
|
||||
|
||||
# --- Main ---
|
||||
|
||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
install_ubuntu_deps
|
||||
echo "[ ] installed system dependencies t=$SECONDS"
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
install_macos_deps
|
||||
if [[ $SHELL == "/bin/zsh" ]]; then
|
||||
RC_FILE="$HOME/.zshrc"
|
||||
elif [[ $SHELL == "/bin/bash" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user