From a5bb83c24fedffa419086a86f9e6837fd81bfe53 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Tue, 2 Dec 2025 18:11:27 +0300 Subject: [PATCH] Update SFX.ps1 --- Scripts/SFX.ps1 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Scripts/SFX.ps1 b/Scripts/SFX.ps1 index 796ee08f..71c31c1e 100644 --- a/Scripts/SFX.ps1 +++ b/Scripts/SFX.ps1 @@ -1,14 +1,18 @@ +Write-Verbose -Message Dependencies -Verbose + # Download WinRAR # https://www.rarlab.com +New-Item -Path Bin -ItemType Directory -Force + $Parameters = @{ Uri = "https://www.rarlab.com/rar/winrar-x64-713.exe" - OutFile = "winrar-x64-713.exe" + OutFile = "Bin\winrar-x64-713.exe" UseBasicParsing = $true } Invoke-WebRequest @Parameters - +test-path "Bin\winrar-x64-713.exe" # Install WinRAR -& winrar-x64-713.exe -s +& "Bin\winrar-x64-713.exe" -s # Get latest version tag for Windows 11 $Parameters = @{