diff --git a/windows11.bat b/windows11.bat index 97926d2..0f1ccd0 100644 --- a/windows11.bat +++ b/windows11.bat @@ -167,7 +167,7 @@ PowerShell -Command "" ^ "$archive = '%TEMP%\dsr.zip';" ^ "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/dsr/releases/download/1.4.0/dsr-win32-x64-1.4.0.zip -OutFile $archive;" ^ "Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\DSR' -Force;" ^ - "Move-Item -Path '%ProgramFiles%\DSR\dsr-win32-x64\*' -Destination '%ProgramFiles%\DSR';" ^ + "Move-Item -Path '%ProgramFiles%\DSR\dsr-win32-x64\*' -Destination '%ProgramFiles%\DSR' -Force;" ^ "Remove-Item '%ProgramFiles%\DSR\dsr-win32-x64;'"^ "$WshShell = New-Object -comObject WScript.Shell;" ^ "$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\DSR.lnk');" ^