mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-25 07:52:03 +08:00
94d8d7458d
date: 2024-03-01T18:48:48 commit: f1bee6b8e2fc94eee0ab1b1db78e42a9c8e2f4aa
14 lines
497 B
Bash
14 lines
497 B
Bash
#!/usr/bin/bash
|
|
rm -fr /data/openpilot ;
|
|
cd /data/ &&
|
|
|
|
git clone https://github.com/dragonpilot-community/dragonpilot -b "$1" --single-branch --depth=1 openpilot &&
|
|
|
|
touch /data/data/com.termux/files/continue.sh &&
|
|
echo "#!/usr/bin/bash" >> /data/data/com.termux/files/continue.sh &&
|
|
echo "cd /data/openpilot" >> /data/data/com.termux/files/continue.sh &&
|
|
echo "exec ./launch_openpilot.sh" >> /data/data/com.termux/files/continue.sh &&
|
|
|
|
chmod u+x /data/data/com.termux/files/continue.sh &&
|
|
reboot
|