You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
596 B
25 lines
596 B
#!/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" "$@"
|
|
|
|
|