fix extraction
This commit is contained in:
parent
4065959032
commit
14d871caf8
1 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,8 @@ REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\LosslessCut" /
|
||||||
PowerShell -Command "$archive = '%TEMP%\dsr.zip';" ^
|
PowerShell -Command "$archive = '%TEMP%\dsr.zip';" ^
|
||||||
"Invoke-WebRequest -Uri https://git.mylloon.fr/attachments/9cb11ead-bb2f-4b81-8caa-1a0f6160ab24 -OutFile $archive;" ^
|
"Invoke-WebRequest -Uri https://git.mylloon.fr/attachments/9cb11ead-bb2f-4b81-8caa-1a0f6160ab24 -OutFile $archive;" ^
|
||||||
"Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\DSR';" ^
|
"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;" ^
|
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||||
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\DSR.lnk');" ^
|
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\DSR.lnk');" ^
|
||||||
"$Shortcut.TargetPath = '%ProgramFiles%\DSR\dsr.exe';" ^
|
"$Shortcut.TargetPath = '%ProgramFiles%\DSR\dsr.exe';" ^
|
||||||
|
|
Loading…
Reference in a new issue