Removed Get-ComputerInfo from main.ps1 (#4634)

This commit is contained in:
Gabi
2026-06-22 13:59:37 -05:00
committed by GitHub
parent 298542e4f7
commit ac0982f9f5
-18
View File
@@ -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 # Setup and Show the Form
#=========================================================================== #===========================================================================