mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-18 17:33:51 +08:00
12 lines
473 B
Bash
12 lines
473 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
|