From bb9e594e2b24d7189313a123d73f27144b7a70ef Mon Sep 17 00:00:00 2001
From: TheJoeCoder <joe@radialbog9.uk>
Date: Fri, 13 Sep 2024 09:57:36 +0100
Subject: [PATCH] Add run pi script

---
 run-pi.sh | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100755 run-pi.sh

diff --git a/run-pi.sh b/run-pi.sh
new file mode 100755
index 0000000..8478c7e
--- /dev/null
+++ b/run-pi.sh
@@ -0,0 +1,7 @@
+~!/bin/bash
+
+cd "$(dirname "$0")" || exit
+
+# Run the script
+xhost +SI:localuser:root
+sudo ./.venv/bin/python3 main.py
-- 
GitLab