ellie-bash-installer/e-run.sh

20 lines
322 B
Bash
Raw Normal View History

2024-06-25 08:48:12 +00:00
#!/bin/sh
echo "Running EllieBot"
root=$(pwd)
if hash dotnet 2>/dev/null
then
echo "Dotnet installed."
else
echo "Dotnet is not installed. Please install dotnet."
exit 1
fi
cd "$root/elliebot/output"
echo "Running EllieBot. Please wait."
dotnet EllieBot.dll
echo "Done"
cd "$root"
rm "$root/e-run.sh"
exit 0