Skip to content

Commit

Permalink
start.ps1: use -NoProfile for starting child
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dktapps committed Feb 27, 2018
1 parent 0ad8ea6 commit 2a09aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if($file -eq ""){
}

function StartServer{
$command = "powershell " + $binary + " " + $file + " " + $extraPocketMineArgs
$command = "powershell -NoProfile " + $binary + " " + $file + " " + $extraPocketMineArgs
iex $command
}

Expand Down

0 comments on commit 2a09aaf

Please sign in to comment.