You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wait-Process -InputObject $process #Faster than Start-Process -Wait
If ($process.ExitCode -eq 0) {
In line 29 of powershell.rs, (New-TemporaryFile).FullName is expanded inside string expression. That's causing the error.
Plus, I noticed that broot --install patches the script only for natively installed powershell, and doesn't work with powershell core, which is newer. I'll make a different PR/issue for this.
Steps to reproduce
br --install
broot --install
(when username is "User Name")
. C:\Users\User\ Name\AppData\Roaming\dystroy\broot\config\launcher\powershell\br.ps1
Possible solution
Use $HOME environment variable instead so windows will automatically expand it on execution appropriately.
The text was updated successfully, but these errors were encountered: