mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-19 01:16:38 +00:00
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:
parent
0ad8ea6e92
commit
2a09aaf456
@ -28,7 +28,7 @@ if($file -eq ""){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function StartServer{
|
function StartServer{
|
||||||
$command = "powershell " + $binary + " " + $file + " " + $extraPocketMineArgs
|
$command = "powershell -NoProfile " + $binary + " " + $file + " " + $extraPocketMineArgs
|
||||||
iex $command
|
iex $command
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user