Skip to content

Commit da24f06

Browse files
Merge pull request #6 from devlopersabbir/dev
Dev
2 parents 24a6773 + d2ca3f2 commit da24f06

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

scripts/install.ps1

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,11 @@ if ($userPath -notlike "*$installDir*") {
4343
Write-Host "Added $installDir to your User PATH variable."
4444
}
4545

46-
Write-Host "Breez successfully installed to $installDir\$binaryName"
47-
Write-Host "Please restart your terminal session and run 'breez version'!"
46+
# Update PATH for the current active session as well
47+
if ($env:Path -notlike "*$installDir*") {
48+
$env:Path = "$env:Path;$installDir"
49+
}
50+
51+
Write-Host "✔ Breez successfully installed to $installDir\$binaryName"
52+
Write-Host "You can now run 'breez version' directly!"
53+

0 commit comments

Comments
 (0)