Force also for 7z
This commit is contained in:
parent
7e0d8378aa
commit
43a32574eb
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ PowerShell -Command "" ^
|
||||||
"$outfile = Join-Path -Path $env:TEMP -ChildPath $archive;" ^
|
"$outfile = Join-Path -Path $env:TEMP -ChildPath $archive;" ^
|
||||||
"Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
|
"Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
|
||||||
"cd $env:TEMP;" ^
|
"cd $env:TEMP;" ^
|
||||||
"& $env:ProgramFiles\7-Zip\7z.exe x $archive -o'%ProgramFiles%\LosslessCut';" ^
|
"& $env:ProgramFiles\7-Zip\7z.exe x $archive -o'%ProgramFiles%\LosslessCut' -y;" ^
|
||||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||||
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\LosslessCut.lnk');" ^
|
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\LosslessCut.lnk');" ^
|
||||||
"$Shortcut.TargetPath = '%ProgramFiles%\LosslessCut\LosslessCut.exe';" ^
|
"$Shortcut.TargetPath = '%ProgramFiles%\LosslessCut\LosslessCut.exe';" ^
|
||||||
|
|
Loading…
Reference in a new issue