fix Install-Wireguard.ps1 to properly launch after install
add Install-AteraAgent.ps1
This commit is contained in:
@@ -12,7 +12,7 @@ If ( IsAdmin )
|
||||
Catch { LogErr $_.Exception.Message ; Exit }
|
||||
|
||||
## Install manager service
|
||||
Try { Start-Process "wireguard.exe" -ArgumentList '/installmanagerservice' -Wait -ErrorAction SilentlyContinue }
|
||||
Try { Start-Process "${Env:ProgramFiles}\WireGuard\wireguard.exe" -ArgumentList '/installmanagerservice' -Wait -ErrorAction SilentlyContinue }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
|
||||
## Create shortcut on Public desktop
|
||||
|
||||
Reference in New Issue
Block a user