Skip to content

Commit 40bcd74

Browse files
committed
Update SFX.ps1
1 parent 82f0030 commit 40bcd74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Scripts/SFX.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ New-Item -Path WinRAR -ItemType Directory -Force
66

77
$Parameters = @{
88
Uri = "https://www.rarlab.com/rar/winrar-x64-713.exe"
9-
OutFile = "winrar-x64-713.exe"
9+
OutFile = "WinRAR\winrar-x64-713.exe"
1010
UseBasicParsing = $true
1111
}
1212
Invoke-WebRequest @Parameters
1313

1414
# Install WinRAR silently
15-
& "winrar-x64-713.exe" -s1
15+
& "WinRAR\winrar-x64-713.exe" -s1
1616

1717
Get-ChildItem -Path "$env:ProgramFiles"
1818
test-path -Path "$env:ProgramFiles\WinRAR"

0 commit comments

Comments
 (0)