mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-22 03:04:18 +08:00
* 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>
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
|