From 14d871caf85e3ef4fdcd3c1431adefd7fd426ce1 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 1 Aug 2023 11:33:45 +0200 Subject: [PATCH] fix extraction --- windows11.bat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/windows11.bat b/windows11.bat index c050dcc..bdf1f16 100644 --- a/windows11.bat +++ b/windows11.bat @@ -155,6 +155,8 @@ REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\LosslessCut" / PowerShell -Command "$archive = '%TEMP%\dsr.zip';" ^ "Invoke-WebRequest -Uri https://git.mylloon.fr/attachments/9cb11ead-bb2f-4b81-8caa-1a0f6160ab24 -OutFile $archive;" ^ "Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\DSR';" ^ + "Move-Item -Path '%ProgramFiles%\DSR\dsr-win32-x64\*' -Destination '%ProgramFiles%\DSR';" ^ + "Remove-Item '%ProgramFiles%\DSR\dsr-win32-x64;'"^ "$WshShell = New-Object -comObject WScript.Shell;" ^ "$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\DSR.lnk');" ^ "$Shortcut.TargetPath = '%ProgramFiles%\DSR\dsr.exe';" ^