update dotnet

This commit is contained in:
Quinten
2023-03-08 16:20:34 +01:00
committed by GitHub
parent 83e940dc40
commit 222b3f16e4
6 changed files with 22 additions and 13 deletions

View File

@@ -8,6 +8,10 @@ export INTERNAL_IP
# set this variable, dotnet needs it even without it it reports to `dotnet --info` it can not start any aplication without this
export DOTNET_ROOT=/usr/share/
# print the dotnet version on startup
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0mdotnet --version\n"
dotnet --version
# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
echo -e ":/home/container$ ${MODIFIED_STARTUP}"