From 3ad22d86b1c257022242544c27cc7f4b71605a10 Mon Sep 17 00:00:00 2001 From: w33b Date: Sat, 18 Apr 2026 19:20:00 +0200 Subject: [PATCH] Add linux start script --- Start.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Start.sh diff --git a/Start.sh b/Start.sh new file mode 100644 index 0000000..76dabfd --- /dev/null +++ b/Start.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +SCRIPT_DIR="$(dirname "$(realpath "$0")")" + +# Change the directory to where the script is +cd "$SCRIPT_DIR" + +# Path to your virtual environment +VENV_PATH="$SCRIPT_DIR/.venv" +source "$VENV_PATH/bin/activate" + +# Path to your Python script +SCRIPT_PATH="$SCRIPT_DIR/Start.py" + +# Run the Python script +python "$SCRIPT_PATH" + +# Deactivate the virtual environment +deactivate + +read -p "Press Enter to exit..."