ellie-bash-installer/e-run.sh

20 lines
No EOL
322 B
Bash

#!/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