mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-07-16 00:40:39 +00:00
Removed Get-ComputerInfo from main.ps1 (#4634)
This commit is contained in:
@@ -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
|
||||
#===========================================================================
|
||||
|
||||
Reference in New Issue
Block a user