start.ps1: use -NoProfile for starting child

The child powershell is a workaround for an unidentified bug which causes colours to get messed up after using git in the same console window. However, loading profiles on the child is a major slowdown when starting the server, and for no good reason.
This commit is contained in:
Dylan K. Taylor 2018-02-27 09:54:29 +00:00
parent 0ad8ea6e92
commit 2a09aaf456

View File

@ -28,7 +28,7 @@ if($file -eq ""){
}
function StartServer{
$command = "powershell " + $binary + " " + $file + " " + $extraPocketMineArgs
$command = "powershell -NoProfile " + $binary + " " + $file + " " + $extraPocketMineArgs
iex $command
}