#!/bin/bash # AuroraDesk Linux Startup Script # This script launches the AuroraDesk application # Get the directory where this script is located SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "$SCRIPT_DIR" # Application executable name APP_NAME="AuroraDesk" # Check if executable exists if [ ! -f "$APP_NAME" ]; then echo "Error: $APP_NAME not found in current directory!" echo "Current directory: $SCRIPT_DIR" exit 1 fi # Make sure executable has execute permission chmod +x "$APP_NAME" # Run the application echo "Starting $APP_NAME..." exec "./$APP_NAME" "$@"