|
|
|
@ -2,19 +2,12 @@ |
|
|
|
|
|
|
|
|
|
set -e |
|
|
|
|
|
|
|
|
|
if [ -z "$SKIP_PROMPT" ]; then |
|
|
|
|
echo "--------------- macOS support ---------------" |
|
|
|
|
echo "Running openpilot natively on macOS is not officially supported." |
|
|
|
|
echo "It might build, some parts of it might work, but it's not fully tested, so there might be some issues." |
|
|
|
|
echo |
|
|
|
|
echo "Check out devcontainers for a seamless experience (see tools/README.md)." |
|
|
|
|
echo "-------------------------------------------------" |
|
|
|
|
echo -n "Are you sure you want to continue? [y/N] " |
|
|
|
|
read -r response |
|
|
|
|
if [[ ! "$response" =~ ^([yY][eE][sS]|[yY])+$ ]]; then |
|
|
|
|
exit 1 |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
echo "--------------- macOS support ---------------" |
|
|
|
|
echo "Running openpilot natively on macOS is still a work-in-progress." |
|
|
|
|
echo "It might build, some parts of it might work, but it's not fully tested, so there might be some issues." |
|
|
|
|
echo |
|
|
|
|
echo "Check out devcontainers for a seamless experience (see tools/README.md)." |
|
|
|
|
echo "-------------------------------------------------" |
|
|
|
|
|
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" |
|
|
|
|
ROOT="$(cd $DIR/../ && pwd)" |
|
|
|
|