From 226b87b465bd0559aae69258abdd7e86c167ec21 Mon Sep 17 00:00:00 2001 From: dyoder Date: Tue, 22 Dec 2020 13:23:44 -0500 Subject: [PATCH] create desktop shortcut by default --- Install-Wireguard.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Install-Wireguard.ps1 b/Install-Wireguard.ps1 index ca5645b..a85b81c 100644 --- a/Install-Wireguard.ps1 +++ b/Install-Wireguard.ps1 @@ -1,5 +1,5 @@ ## Create a desktop shortcut for WireGuard? -$CreateDesktopShortcut = $false +$CreateDesktopShortcut = $true ## Make sure we have an administrative token If ( IsAdmin ) @@ -13,7 +13,7 @@ If ( IsAdmin ) ## Create shortcut on Public desktop If ( $CreateDesktopShortcut ) { - Create-Shortcut -Path "${Env:Public}\Desktop\WireGuard.LNK" -TargetPath "${Env:ProgramFiles}\WireGuard\wireguard.exe" -Description "WireGuard: Fast, Modern, Secure VPN Tunnel" + 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" } \ No newline at end of file