major update to override Write-Output func
This commit is contained in:
@@ -25,4 +25,4 @@ If ( IsAdmin )
|
||||
Create-Shortcut -Path "${Env:Public}\Desktop\WireGuard VPN.LNK" -TargetPath "${Env:ProgramFiles}\WireGuard\wireguard.exe" -Description "WireGuard: Fast, Modern, Secure VPN Tunnel"
|
||||
}
|
||||
}
|
||||
Else { LogMsg "Must be an administrator to install WireGuard" }
|
||||
Else { Write-Output "Must be an administrator to install WireGuard" }
|
||||
Reference in New Issue
Block a user