mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-11 13:52:04 +08:00
5d069eb8c3
* fix mac nui
* fix cereal
* builds on mac without warnings
* ui swap shouldn't be instant on pc
* camerad builds on mac
* modeld, and now everything, builds on mac
* ui draws pictures on mac now
* fix camerad shutdown
* support ui looping on pc
* python3 on that
* SCNu64 should be cross platform
* bump cereal and new apk
* clean up
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 344a9a3699
19 lines
372 B
Bash
Executable File
19 lines
372 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
if [ $# -gt 0 ]; then
|
|
if [ "$INTERNAL" = 1 ]; then
|
|
./_nui "$1"
|
|
else
|
|
./get_files_comma_api.py $1
|
|
if [ -f ./_nui ]; then
|
|
./_nui use_api
|
|
elif [ -f _nui.app/Contents/MacOS/_nui ]; then
|
|
./_nui.app/Contents/MacOS/_nui use_api
|
|
else
|
|
echo "nui not found, please build it"
|
|
fi
|
|
fi
|
|
else
|
|
echo "Please Enter a Route"
|
|
fi
|