This commit is contained in:
Mylloon 2023-12-21 16:12:18 +01:00
parent 41ef7a7b26
commit 9ccdc642f7
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -276,7 +276,7 @@ PowerShell -Command "" ^
"$exe = 'Deceive.exe';" ^ "$exe = 'Deceive.exe';" ^
"$link = 'https://github.com/molenzwiebel/Deceive/releases/latest/download/' + $exe;" ^ "$link = 'https://github.com/molenzwiebel/Deceive/releases/latest/download/' + $exe;" ^
"$outfile = Join-Path -Path '%ProgramFiles%\Deceive' -ChildPath $exe;" ^ "$outfile = Join-Path -Path '%ProgramFiles%\Deceive' -ChildPath $exe;" ^
"Invoke-WebRequest -Uri $link -OutFile $outfile;" ^ "Invoke-WebRequest -Uri $link -OutFile '$outfile';" ^
"$WshShell = New-Object -comObject WScript.Shell;" ^ "$WshShell = New-Object -comObject WScript.Shell;" ^
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Deceive.lnk');" ^ "$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Deceive.lnk');" ^
"$Shortcut.TargetPath = \"%ProgramFiles%\Deceive\$exe\";" ^ "$Shortcut.TargetPath = \"%ProgramFiles%\Deceive\$exe\";" ^