Trying to get python bridge to work.
This commit is contained in:
+2
-5
@@ -334,9 +334,7 @@ launch_gui() {
|
||||
echo -e "\n ➡️ You will now proceed to the configuration of your device through your browser"
|
||||
echo -e "\n 🚀 Launching Numbus Configurator..."
|
||||
|
||||
cd "${BRIDGE_SCRIPT_DIR}"
|
||||
python3 "${BRIDGE_SCRIPT_FILE}" > /dev/null 2>&1 &
|
||||
cd ../../
|
||||
python3 "${BRIDGE_SCRIPT}" > /dev/null 2>&1 &
|
||||
export BRIDGE_PID=$!
|
||||
xdg-open "http://localhost:${WEBSERVER_PORT}" 2>/dev/null || open "http://localhost:${WEBSERVER_PORT}" 2>/dev/null || true
|
||||
|
||||
@@ -717,8 +715,7 @@ LIVE_DATA_FILE="config/live.yaml"
|
||||
HW_DATA_FILE="config/hardware.yaml"
|
||||
CONFIG_FILE="config/numbus.yaml"
|
||||
|
||||
BRIDGE_SCRIPT_FILE="interactive.py"
|
||||
BRIDGE_SCRIPT_DIR="web/logic"
|
||||
BRIDGE_SCRIPT="web/logic/interactive.py"
|
||||
|
||||
TARGET_USER="nixos"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user