#!/bin/bash
# CME Tracker Launcher Script
# This will run on any Linux system with Bash or compatible shell.

# Get the directory this script is in (so it works even if launched elsewhere)
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

# Move into the script directory
cd "$SCRIPT_DIR" || exit 1

# Launch the CME Tracker app
echo "Starting CME Tracker..."
java -cp "CMETracker.jar:sqlite-jdbc-3.50.3.0.jar" Main

# Optional: pause for readability if double-clicked in some file managers
echo
read -p "Press Enter to close this window..." dummy
