remove unnecessary code from Install-DeltekVision.ps1
comment out Create-Shortcut from Install-Wireguard.ps1 fix some log messages in Tools.ps1
This commit is contained in:
@@ -420,8 +420,9 @@ Function Create-Shortcut {
|
||||
$Shortcut.IconLocation = $Icon
|
||||
$Shortcut.WorkingDirectory = $WorkingDirectory
|
||||
$Shortcut.TargetPath = $TargetPath
|
||||
LogMsg "Creating shortcut to ""${TargetPath}"" at ""${Path}"""
|
||||
Try { $Shortcut.Save() }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
}
|
||||
Else { LogMsg "The target path does not exist" }
|
||||
Else { LogMsg "Cannot create shortcut because the target path does not exist" }
|
||||
}
|
||||
Reference in New Issue
Block a user