i misspelled my own function name...
This commit is contained in:
@@ -6,9 +6,9 @@ If ( IsAdmin )
|
|||||||
## Install package
|
## Install package
|
||||||
$Installer = Download-File -URL $URL
|
$Installer = Download-File -URL $URL
|
||||||
If ( Test-Path $Installer ) {
|
If ( Test-Path $Installer ) {
|
||||||
End-Program -Name "wireguard" -Match -Force
|
End-Process -Name "wireguard" -Match -Force
|
||||||
Install-Program -Path "${Installer}" -Delete
|
Install-Program -Path "${Installer}" -Delete
|
||||||
End-Program -Name "wireguard" -Match -Force
|
End-Process -Name "wireguard" -Match -Force
|
||||||
}
|
}
|
||||||
Else { LogMsg "The Wireguard installer was not downloaded properly" }
|
Else { LogMsg "The Wireguard installer was not downloaded properly" }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user