mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-08 21:05:54 +08:00
fix nm-win-installer - add WireGuard env
This commit is contained in:
parent
b7197644ac
commit
64d0660392
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ new-module -name netclient-install -scriptblock {
|
||||||
If(-Not $installed) {
|
If(-Not $installed) {
|
||||||
Quit "Could not install WireGuard"
|
Quit "Could not install WireGuard"
|
||||||
} else {
|
} else {
|
||||||
|
$env:Path += (";" + $env:ProgramFiles + "\WireGuard")
|
||||||
Write-Host "'$software' is installed."
|
Write-Host "'$software' is installed."
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue