mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-01 18:42:35 -05:00
Added New Dark Themes for Low Spec PC and added GPU Detection
This commit is contained in:
@ -170,7 +170,12 @@ $tabcolums=Get-TabXaml "feature"
|
||||
$inputXML = $inputXML -replace "{{InstallPanel_features}}", ($tabcolums)
|
||||
|
||||
if ((Get-WinUtilToggleStatus WPFToggleDarkMode) -eq $True) {
|
||||
$ctttheme = 'Matrix'
|
||||
if (Invoke-GPUCheck -eq $True) {
|
||||
$ctttheme = 'Matrix'
|
||||
}
|
||||
else {
|
||||
$ctttheme = 'Dark'
|
||||
}
|
||||
}
|
||||
else {
|
||||
$ctttheme = 'Classic'
|
||||
@ -564,4 +569,4 @@ Version : $($sync.version)
|
||||
})
|
||||
|
||||
$sync["Form"].ShowDialog() | out-null
|
||||
Stop-Transcript
|
||||
Stop-Transcript
|
||||
|
Reference in New Issue
Block a user