This commit is contained in:
Mylloon 2023-11-07 04:10:59 +01:00
parent ffd67d58fa
commit d90cfe53ee
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -171,7 +171,7 @@ PowerShell -Command "" ^
"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' -Force;" ^
"Remove-Item '%ProgramFiles%\DSR\dsr-win32-x64;'"^
"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';" ^