Skip to content
Snippets Groups Projects
Verified Commit f8bd2b11 authored by TheJoeCoder's avatar TheJoeCoder
Browse files

Log and fix

parent e30a7025
Branches
No related tags found
No related merge requests found
......@@ -128,3 +128,4 @@ cython_debug/
module_config.json
hw_config.json
app.log
......@@ -2,6 +2,9 @@
cd "$(dirname "$0")" || exit
# Sleep for 10 seconds
sleep 10
# Run the script
xhost +SI:localuser:root
sudo ./.venv/bin/python3 main.py
DISPLAY=:0 xhost + && \
sudo DISPLAY=:0 ./.venv/bin/python3 main.py > ./app.log 2>&1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment