mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-19 12:23:55 +08:00
12 lines
306 B
Bash
Executable File
12 lines
306 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
if [ -z "$BASEDIR" ]; then
|
|
BASEDIR="/data/openpilot"
|
|
fi
|
|
|
|
source "$BASEDIR/launch_env.sh"
|
|
cp -f "$BASEDIR/installer/updater/update.zip" "/sdcard/update.zip"
|
|
pm disable ai.comma.plus.offroad
|
|
killall _ui
|
|
"$BASEDIR/installer/updater/updater" "file://$BASEDIR/installer/updater/oneplus.json"
|