From ac0982f9f5cb81289e0bf6bbf7c537bcda151727 Mon Sep 17 00:00:00 2001 From: Gabi <218829269+GabiNun2@users.noreply.github.com> Date: Mon, 22 Jun 2026 11:59:37 -0700 Subject: [PATCH] Removed Get-ComputerInfo from main.ps1 (#4634) --- scripts/main.ps1 | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/scripts/main.ps1 b/scripts/main.ps1 index a5e1a1bf..2452e92a 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -240,24 +240,6 @@ $sync.keys | ForEach-Object { } } -#=========================================================================== -# Setup background config -#=========================================================================== - -# Load computer information in the background -Invoke-WPFRunspace -ScriptBlock { - try { - $ProgressPreference = "SilentlyContinue" - $sync.ConfigLoaded = $False - $sync.ComputerInfo = Get-ComputerInfo - $sync.ConfigLoaded = $True - } - finally{ - $ProgressPreference = $oldProgressPreference - } - -} | Out-Null - #=========================================================================== # Setup and Show the Form #===========================================================================