diff --git a/Scripts/SFX.ps1 b/Scripts/SFX.ps1 index 9f6f2422..3fd7e1b1 100644 --- a/Scripts/SFX.ps1 +++ b/Scripts/SFX.ps1 @@ -1,4 +1,4 @@ -Write-Verbose -Message Dependencies -Verbose +Write-Verbose -Message SFX -Verbose # Download WinRAR # https://www.rarlab.com @@ -23,6 +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 +Import-Module -Name PackageManagement -UseWindowsPowerShell get-package -Name *rar* | fl * # Create SFX archive