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

This commit is contained in:
Gabi
2026-06-22 11:59:37 -07:00
committed by GitHub
parent 298542e4f7
commit ac0982f9f5

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
#===========================================================================