Skip to content

Commit

Permalink
Fix: Restore sleep button
Browse files Browse the repository at this point in the history
- Remove space after path
  • Loading branch information
LeDragoX committed May 14, 2024
1 parent b25b1e8 commit be0ffec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Individual-Tweaks.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function Enable-Hibernate() {
powercfg -Hibernate -Type $Type | Out-Host

Write-Status -Types "+", "Performance" -Status "Restoring the Sleep Button at the Start Menu..."
Set-ItemPropertyVerified -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings " -Name "ShowSleepOption" -Type DWord -Value 1
Set-ItemPropertyVerified -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings" -Name "ShowSleepOption" -Type DWord -Value 1
}

function Disable-HyperV() {
Expand Down

0 comments on commit be0ffec

Please sign in to comment.