#W# Tweak: Changed Run script.
This commit is contained in:
parent
c8a376c104
commit
8621281ddc
1 changed files with 18 additions and 2 deletions
20
Run.sh
20
Run.sh
|
|
@ -1,2 +1,18 @@
|
|||
echo "Starting Server...."
|
||||
dotnet ./Distribution/ModernUO.dll
|
||||
#!/usr/bin/env bash
|
||||
if ( pgrep -f ModernUO.dll > /dev/null)
|
||||
then
|
||||
echo "________________________________"
|
||||
echo "| A Server is already running!! "
|
||||
echo "--------------------------------"
|
||||
else
|
||||
echo "________________________________"
|
||||
echo "| Compiling server files."
|
||||
echo "--------------------------------"
|
||||
dotnet publish Projects/Application/Application.csproj -c Release -r linux-x64 --self-contained=false
|
||||
echo ""
|
||||
echo ""
|
||||
echo "________________________________"
|
||||
echo "| Starting Server...."
|
||||
echo "--------------------------------"
|
||||
dotnet ./Distribution/ModernUO.dll
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue