From 2664c394c281c35192d5d8912afd666101aad23f Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Tue, 2 Dec 2025 22:47:52 +0300 Subject: [PATCH] Update SFX.ps1 --- Scripts/SFX.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Scripts/SFX.ps1 b/Scripts/SFX.ps1 index eac3036b..9f6f2422 100644 --- a/Scripts/SFX.ps1 +++ b/Scripts/SFX.ps1 @@ -23,5 +23,7 @@ $Latest_Release_Windows_11_PowerShell_5_1 = (Invoke-RestMethod @Parameters).Soph (Get-Content -Path Scripts\SFX_config.txt -Encoding utf8NoBOM -Raw) | Foreach-Object -Process {$_ -replace "SophiaScriptVersion", $Latest_Release_Windows_11_PowerShell_5_1} | Set-Content -Path Scripts\SFX_config.txt -Encoding utf8NoBOM -Force +get-package -Name *rar* | fl * + # Create SFX archive & "C:\Program Files\WinRAR\Rar.exe" a -sfx -z"Scripts\SFX_config.txt" -ep1 -r "SophiaScriptWinGet_SophiaScriptVersion.exe" "Sophia_Script_for_Windows_11_v$($Latest_Release_Windows_11_PowerShell_5_1)\*"