From 9ccdc642f77b4dfbeafb6d57e41ed12164d540e5 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 21 Dec 2023 16:12:18 +0100 Subject: [PATCH] fix path --- windows11.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows11.bat b/windows11.bat index 5a5df1e..558d7c8 100644 --- a/windows11.bat +++ b/windows11.bat @@ -276,7 +276,7 @@ PowerShell -Command "" ^ "$exe = 'Deceive.exe';" ^ "$link = 'https://github.com/molenzwiebel/Deceive/releases/latest/download/' + $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;" ^ "$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Deceive.lnk');" ^ "$Shortcut.TargetPath = \"%ProgramFiles%\Deceive\$exe\";" ^