2 parents 24a6773 + d2ca3f2 commit da24f06Copy full SHA for da24f06
1 file changed
scripts/install.ps1
@@ -43,5 +43,11 @@ if ($userPath -notlike "*$installDir*") {
43
Write-Host "Added $installDir to your User PATH variable."
44
}
45
46
-Write-Host "Breez successfully installed to $installDir\$binaryName"
47
-Write-Host "Please restart your terminal session and run 'breez version'!"
+# Update PATH for the current active session as well
+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