From c6ee89742ff814bd271d7da9ce5ddf6efd54a434 Mon Sep 17 00:00:00 2001 From: rambros Date: Sun, 22 Feb 2026 17:24:19 +0530 Subject: [PATCH] add easy launcher script --- launcher.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 launcher.sh diff --git a/launcher.sh b/launcher.sh new file mode 100755 index 0000000..0294a94 --- /dev/null +++ b/launcher.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# Get the directory where the script is located +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +cd "$DIR" + +# Check if venv exists +if [ -d "$DIR/venv" ]; then + # Activate virtual environment + source "$DIR/venv/bin/activate" + # Run the application + python3 fluxer-reaper.py "$@" +else + echo "Error: Virtual environment not found in $DIR/venv" + echo "Please ensure you have installed the requirements into a 'venv' folder." + exit 1 +fi