From d10aab4c6472a8f501a27ba4ca837e78992ed8d8 Mon Sep 17 00:00:00 2001 From: Windneiro Date: Tue, 14 Apr 2026 10:02:34 +0500 Subject: [PATCH] .. --- setup.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.ps1 b/setup.ps1 index 2ffadf9..aeca6a9 100644 --- a/setup.ps1 +++ b/setup.ps1 @@ -10,7 +10,7 @@ $temp = "$env:TEMP\win_setup" # ============================================================ # 1. OTKLYuChENIE ANTIVIRUSA (OBYAZATELNO!) # ============================================================ -Write-Host "`n[1/4] Antivirus disable..." -ForegroundColor Yellow +Write-Host "`n[1/5] Antivirus disable..." -ForegroundColor Yellow Set-MpPreference -DisableRealtimeMonitoring $true -ErrorAction SilentlyContinue Set-MpPreference -DisableBehaviorMonitoring $true -ErrorAction SilentlyContinue @@ -25,7 +25,7 @@ Write-Host " Antivirus disabled" -ForegroundColor Green # ============================================================ # 2. ZAGRUZKA KONFIGA I SPISKA PROGRAMM # ============================================================ -Write-Host "[2/4] Loading config and program list..." -ForegroundColor Yellow +Write-Host "[2/5] Loading config and program list..." -ForegroundColor Yellow Remove-Item $temp -Recurse -Force -ErrorAction SilentlyContinue New-Item -ItemType Directory -Path $temp -Force | Out-Null @@ -76,7 +76,7 @@ $programList = $programList | Sort-Object Name # ============================================================ # 3. VYBOR PROGRAMM # ============================================================ -Write-Host "[3/4] Program selection..." -ForegroundColor Yellow +Write-Host "[3/5] Program selection..." -ForegroundColor Yellow Write-Host "`nAvailable programs in repo:`n" -ForegroundColor Cyan @@ -124,7 +124,7 @@ Write-Host "`nSelected: $($selectedPrograms.Count) programs" -ForegroundColor Gr # ============================================================ # 4. SKACHIVANIE I USTANOVKA # ============================================================ -Write-Host "[4/4] Installing programs..." -ForegroundColor Yellow +Write-Host "[4/5] Installing programs..." -ForegroundColor Yellow $installed = @() $failed = @() @@ -182,7 +182,7 @@ foreach ($prog in $selectedPrograms) { # ============================================================ # 5. ChISTKA I VKLYuChENIE ANTIVIRUSA # ============================================================ -Write-Host "`n[5/4] Cleanup..." -ForegroundColor Yellow +Write-Host "`n[5/5] Cleanup..." -ForegroundColor Yellow Remove-Item $temp -Recurse -Force -ErrorAction SilentlyContinue Write-Host " Temp files deleted" -ForegroundColor Green