resonite/scripts/99_start.sh

21 lines
682 B
Bash
Raw Normal View History

2024-11-19 04:30:43 +00:00
#!/bin/bash
2025-01-07 18:29:41 +00:00
cd /data/resonite/Headless || exit
2024-11-19 04:30:43 +00:00
if [ "$STOP_LAUNCH" == "true" ]; then
echo "STOP_LAUNCH is set to true, exiting..."
exit 0
fi
2025-01-07 18:29:41 +00:00
2024-12-09 21:58:51 +00:00
echo "Running Resonite"
2025-01-07 18:29:41 +00:00
if [ "$MONKEY_LOADER" == "true" ]; then
echo "exec: dotnet /app/Loader.dll $DEFAULT_RESONITE_ARGS $RESONITE_ARGS"
# dotnet Resonite.dll -LoadAssembly MonkeyLoader/MonkeyLoader.dll $DEFAULT_RESONITE_ARGS $RESONITE_ARGS
# bash run_monkeyloader.sh $DEFAULT_RESONITE_ARGS $RESONITE_ARGS
dotnet /app/Loader.dll $DEFAULT_RESONITE_ARGS $RESONITE_ARGS
else
echo "exec: dotnet Resonite.dll $DEFAULT_RESONITE_ARGS $RESONITE_ARGS"
dotnet Resonite.dll $DEFAULT_RESONITE_ARGS $RESONITE_ARGS
fi