From be0ffecf0e0c60551edd02078b0552f84b30dda0 Mon Sep 17 00:00:00 2001 From: LeDragoX Date: Tue, 14 May 2024 10:39:57 -0300 Subject: [PATCH] Fix: Restore sleep button - Remove space after path --- src/utils/Individual-Tweaks.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Individual-Tweaks.psm1 b/src/utils/Individual-Tweaks.psm1 index 182e2fa8..40651df4 100644 --- a/src/utils/Individual-Tweaks.psm1 +++ b/src/utils/Individual-Tweaks.psm1 @@ -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() {