From ec057db9ef34f97e6ee0b05c722aa08fc76ffc30 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 29 Jul 2023 03:21:26 +0200 Subject: [PATCH] Fix incorrect function call --- scripts/Windows/Scripts/Context.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Scripts/Context.ps1 b/scripts/Windows/Scripts/Context.ps1 index b3d5fa57d..5e680b75a 100644 --- a/scripts/Windows/Scripts/Context.ps1 +++ b/scripts/Windows/Scripts/Context.ps1 @@ -376,7 +376,7 @@ class Context { if ($currentScheme -ne $performanceScheme) { Write-Information "Disabling Power Save mode"; - $this.Set("Power Scheme", $currentScheme); + $this.Set("Power Scheme", $currentScheme, "ExpandString"); powercfg /S 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c; } }