- Replace the shell convenience script with a cross-platform Python launcher. - Keep dev.sh as a Unix compatibility wrapper. - Let the direct backend bind with host and port overrides. - Update the root and webui README guidance for the new launcher. - Preserve the backend startup behavior used by the old dev flow.
16 lines
355 B
Bash
Executable file
16 lines
355 B
Bash
Executable file
#!/bin/sh
|
|
# Compatibility wrapper for the Python launcher.
|
|
set -e
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
|
|
if command -v python3 >/dev/null 2>&1; then
|
|
exec python3 "$SCRIPT_DIR/dev.py" "$@"
|
|
fi
|
|
|
|
if command -v python >/dev/null 2>&1; then
|
|
exec python "$SCRIPT_DIR/dev.py" "$@"
|
|
fi
|
|
|
|
echo "Python is required to run the SoulSync dev launcher."
|
|
exit 1
|