fix download?

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

View file

@ -279,7 +279,7 @@ PowerShell -Command "" ^
"Invoke-WebRequest -Uri $link -OutFile '$outfile';" ^
"$WshShell = New-Object -comObject WScript.Shell;" ^
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Deceive.lnk');" ^
"$Shortcut.TargetPath = \"%ProgramFiles%\Deceive\$exe\";" ^
"$Shortcut.TargetPath = $outfile;" ^
"$Shortcut.Save()"
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Deceive" /f /v DisplayName /t REG_SZ /d "Deceive"
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Deceive" /f /v InstallLocation /t REG_SZ /d "%ProgramFiles%\Deceive"