From 3c4ebc476e5380855e9549dc06075863d7260c67 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 21 Dec 2023 16:18:35 +0100 Subject: [PATCH] fix download? --- windows11.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows11.bat b/windows11.bat index 558d7c8..57f8cd1 100644 --- a/windows11.bat +++ b/windows11.bat @@ -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"