This commit is contained in:
rvrsh3ll
2022-02-22 14:42:07 -05:00
parent 99997f889f
commit ad671a9ed4
+1 -2
View File
@@ -80,12 +80,11 @@ function Create-HotKeyLNK {
$obj = New-Object -ComObject WScript.Shell
$link = $obj.CreateShortcut((Get-Location).Path + "\" + $LNKName + ".lnk")
Write-Host $link
$link.WindowStyle = '7'
$link.TargetPath = $EXEPath
$link.HotKey = $HotKey
$link.IconLocation = $IconPath
$link.Arguments = $arguments
$link.Save()
Write-Host "Done"
Write-Host "Done!"
}