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"