Skip to content

Commit a8937e7

Browse files
committed
modify
1 parent 45a6fac commit a8937e7

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
/courses/*html*
1010
/fonts/*
1111
/scripts/*.py
12-
/scripts/*.yaml
12+
/scripts/*/*.py
13+
/scripts/*/*.yaml
1314
/.idea/
1415
/.serena/
1516
*.iml

install.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ sudo apt upgrade -y
100100
# install essential packages
101101
echo "🔧 Installing core packages..."
102102
# trixie
103-
sudo apt install -y git cython3 cmake python3-setuptools python3-numpy sqlite3 libsqlite3-dev python3-pil python3-aiohttp python3-aiofiles python3-psutil
103+
sudo apt install -y git cython3 cmake python3-setuptools python3.13-venv python3-numpy sqlite3 libsqlite3-dev python3-pil python3-aiohttp python3-aiofiles python3-psutil
104104
echo "✅ Core packages installed."
105105

106106
cd
@@ -122,7 +122,7 @@ fi
122122
# Install additional requirements
123123
echo "🔧 Installing core pip packages..."
124124
# essential
125-
pip install oyaml polyline qasync pyqtgraph git+https://github.com/hishizuka/crdp.git
125+
pip install oyaml polyline git+https://github.com/hishizuka/crdp.git
126126
echo "✅ Core pip packages installed successfully."
127127

128128
if command -v raspi-config >/dev/null 2>&1; then
@@ -135,6 +135,8 @@ fi
135135
if [[ "$install_pyqt6" == "true" ]]; then
136136
echo "🔧 Installing PyQt6 packages..."
137137
sudo apt install -y python3-pyqt6 python3-pyqt6.qtsvg qt6-svg-plugins pyqt6-dev-tools
138+
pip install qasync pyqtgraph
139+
# sudo apt install -y python3-pyside6.qtlocation
138140
echo "✅ PyQt6 packages installed successfully."
139141
gui_option=()
140142
else
@@ -354,6 +356,9 @@ if [[ "$install_services" == "true" ]]; then
354356
after="After=display-manager.service\\n"
355357
else
356358
envs="Environment=\"QT_QPA_PLATFORM=offscreen\"\\n"
359+
# DRM
360+
#envs="Environment=\"QT_QPA_PLATFORM=linuxfb:fb=/dev/fb1\"\\n"
361+
# PiTFT
357362
#envs="Environment=\"QT_QPA_FB_HIDECURSOR=1 QT_QPA_PLATFORM=linuxfb:fb=/dev/fb1\"\\n"
358363
# and add vt.global_cursor_default=0 fbcon=map:0 or 1(map console with /dev/fbX)
359364
after=""

0 commit comments

Comments
 (0)