mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-08-09 17:41:14 +10: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
|
# Setup and Show the Form
|
||||||
#===========================================================================
|
#===========================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user