db1d565b64
Integration Tests / melodic (push) Has been cancelled
Integration Tests / noetic (push) Has been cancelled
Integration Tests / humble (push) Has been cancelled
Integration Tests / jazzy (push) Has been cancelled
Ruff Lint & Format / ruff (push) Has been cancelled
Sync main to develop / Check if sync is needed (push) Has been cancelled
Sync main to develop / Sync main to develop (push) Has been cancelled
31 lines
854 B
Bash
Executable File
31 lines
854 B
Bash
Executable File
#!/bin/bash
|
|
# Unified launcher for turtlesim - auto-detects OS and runs appropriate script
|
|
|
|
set -e
|
|
|
|
# Detect operating system
|
|
OS_TYPE=$(uname -s)
|
|
|
|
case "$OS_TYPE" in
|
|
Darwin*)
|
|
echo "Detected macOS - launching with XQuartz support..."
|
|
./scripts/launch_macos.sh
|
|
;;
|
|
Linux*)
|
|
echo "Detected Linux - launching with X11 support..."
|
|
./scripts/launch_linux.sh
|
|
;;
|
|
MINGW*|MSYS*|CYGWIN*)
|
|
echo "Detected Windows - launching with X server support..."
|
|
./scripts/launch_windows.sh
|
|
;;
|
|
*)
|
|
echo "Unsupported OS: $OS_TYPE"
|
|
echo " Please run the appropriate script manually:"
|
|
echo " - macOS: ./scripts/launch_macos.sh"
|
|
echo " - Linux: ./scripts/launch_linux.sh"
|
|
echo " - Windows: ./scripts/launch_windows.sh"
|
|
exit 1
|
|
;;
|
|
esac
|