create desktop shortcut by default
This commit is contained in:
@@ -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" }
|
||||
Reference in New Issue
Block a user