From c675b23d05744846aa6f29c196a22aadb154a557 Mon Sep 17 00:00:00 2001 From: CanbiZ Date: Wed, 4 Jun 2025 19:19:41 +0200 Subject: [PATCH] fix tasmocompiler --- install/tasmocompiler-install.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install/tasmocompiler-install.sh b/install/tasmocompiler-install.sh index 9277b8db3..e056df158 100644 --- a/install/tasmocompiler-install.sh +++ b/install/tasmocompiler-install.sh @@ -29,15 +29,17 @@ tar xzf /tmp/v${RELEASE}.tar.gz mv tasmocompiler-${RELEASE}/ /opt/tasmocompiler/ cd /opt/tasmocompiler $STD uv venv /opt/tasmocompiler/.venv -$STD uv pip install platformio +$STD /opt/tasmocompiler/.venv/bin/python -m ensurepip --upgrade +$STD /opt/tasmocompiler/.venv/bin/python -m pip install --upgrade pip +$STD /opt/tasmocompiler/.venv/bin/python -m pip install platformio $STD yarn install export NODE_OPTIONS=--openssl-legacy-provider $STD npm i $STD yarn build mkdir -p /usr/local/bin -ln -sf /opt/tasmocompiler/venv/bin/platformio /usr/local/bin/platformio -ln -sf /opt/tasmocompiler/venv/bin/pio /usr/local/bin/pio -ln -sf /opt/tasmocompiler/venv/bin/piodebuggdb /usr/local/bin/piodebuggdb +ln -sf /opt/tasmocompiler/.venv/bin/platformio /usr/local/bin/platformio +ln -sf /opt/tasmocompiler/.venv/bin/pio /usr/local/bin/pio +ln -sf /opt/tasmocompiler/.venv/bin/piodebuggdb /usr/local/bin/piodebuggdb echo "${RELEASE}" >"/opt/tasmocompiler_version.txt" msg_ok "Setup TasmoCompiler"