wip
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
bash /data/openpilot/system/clearpilot/on_start.sh
|
||||
|
||||
exec ./launch_chffrplus.sh
|
||||
|
||||
@@ -1,28 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Check if nodejs is installed
|
||||
if ! which nodejs > /dev/null; then
|
||||
#sudo mount -o remount,rw /
|
||||
# if ! which nodejs > /dev/null; then
|
||||
# #sudo mount -o remount,rw /
|
||||
|
||||
# Node.js is not installed, setting up the NodeSource Node.js 21.x repo
|
||||
echo "Node.js not found. Setting up NodeSource Node.js 21.x repository..."
|
||||
curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash -
|
||||
# # Node.js is not installed, setting up the NodeSource Node.js 21.x repo
|
||||
# echo "Node.js not found. Setting up NodeSource Node.js 21.x repository..."
|
||||
# curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash -
|
||||
|
||||
# Install Node.js from the NodeSource repository
|
||||
echo "Installing Node.js..."
|
||||
sudo apt-get install -y nodejs
|
||||
fi
|
||||
|
||||
# apt-get update
|
||||
# apt-get install -y nodejs npm
|
||||
# # Install Node.js from the NodeSource repository
|
||||
# echo "Installing Node.js..."
|
||||
# sudo apt-get install -y nodejs
|
||||
# fi
|
||||
|
||||
apt-get update
|
||||
apt-get install -y python3-pyqt5
|
||||
apt-get install -y nodejs npm python3-pyqt5 pywayland python3-pyqt5.qtwebengine
|
||||
pip3 install termqt
|
||||
apt-get install python3-pyqt5.qtwebengine
|
||||
# pip3 install PyQtWebEngine
|
||||
pip3 install pywayland
|
||||
|
||||
cd /data/openpilot/third_party/libyuv;
|
||||
cd /data/openpilot/third_party/libyuv
|
||||
bash build.sh
|
||||
cd libyuv && make && make install
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
bash /data/openpilot/system/clearpilot/startup_logo/set_logo.sh
|
||||
Reference in New Issue
Block a user