i misspelled my own function name...
This commit is contained in:
@@ -6,9 +6,9 @@ If ( IsAdmin )
|
||||
## Install package
|
||||
$Installer = Download-File -URL $URL
|
||||
If ( Test-Path $Installer ) {
|
||||
End-Program -Name "wireguard" -Match -Force
|
||||
End-Process -Name "wireguard" -Match -Force
|
||||
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" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user