Fixed some errors (#164)

* Update README.md

* QOL Terminal - Win Update Revamp

* Fix Flickering

* Fixed registry error

* Fixed some errors

Added missing xml code of DisableUAC into MainWindow.xaml
Unchecked DisableUAC for Minimal Tweaks option

Co-authored-by: Chris Titus <dfm.titus@gmail.com>
This commit is contained in:
Dipayan Biswas 2022-09-19 22:03:43 +05:30 committed by GitHub
parent faf35e9d91
commit 3c25221ccf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -176,6 +176,7 @@
<CheckBox Name="MiscTweaksDisplay" Content="Set Display for Performance" Margin="5,0"/>
<CheckBox Name="MiscTweaksUTC" Content="Set Time to UTC (Dual Boot)" Margin="5,0"/>
<CheckBox Name="EssTweaksDeBloat" Content="Remove ALL MS Store Apps" Margin="5,0"/>
<CheckBox Name="MiscTweaksDisableUAC" Content="Disable UAC" Margin="5,0"/>
<Button Name="tweaksbutton" Background="AliceBlue" Content="Run Tweaks" Margin="20,10,20,0"/>
<Button Name="undoall" Background="AliceBlue" Content="Undo All Tweaks" Margin="20,5"/>

View File

@ -593,7 +593,7 @@ $WPFminimal.Add_Click({
$WPFMiscTweaksNum.IsChecked = $false
$WPFMiscTweaksLapPower.IsChecked = $false
$WPFMiscTweaksLapNum.IsChecked = $false
$WPFMiscTweaksDisableUAC.IsChecked = $true
$WPFMiscTweaksDisableUAC.IsChecked = $false
})
$WPFtweaksbutton.Add_Click({
@ -617,7 +617,7 @@ $WPFtweaksbutton.Add_Click({
}
If ( $WPFEssTweaksHiber.IsChecked -eq $true ) {
Write-Host "Disabling Hibernation..."
Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Session Manager\Power" -Name "HibernteEnabled" -Type Dword -Value 0
Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Session Manager\Power" -Name "HibernateEnabled" -Type Dword -Value 0
If (!(Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings")) {
New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings" | Out-Null
}