From f28fe8795829119faf2db235daebc3328e97b4c3 Mon Sep 17 00:00:00 2001 From: Chase Payne Date: Tue, 23 Jan 2024 10:09:37 -0600 Subject: [PATCH] fixes #51 --- ResolutionMatcher-Functions.ps1 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ResolutionMatcher-Functions.ps1 b/ResolutionMatcher-Functions.ps1 index e30ce70..1b75db9 100644 --- a/ResolutionMatcher-Functions.ps1 +++ b/ResolutionMatcher-Functions.ps1 @@ -65,6 +65,7 @@ function Assert-ResolutionChange($width, $height, $refresh) { function Join-Overrides($width, $height, $refresh) { + Write-Host "Before Override: $width x $height x $refresh" $overrides = Get-Content ".\overrides.txt" -ErrorAction SilentlyContinue foreach ($line in $overrides) { if ($null -ne $line -and "" -ne $line) { @@ -82,11 +83,13 @@ function Join-Overrides($width, $height, $refresh) { } } - return @{ - height = $height - width = $width - refresh = $refresh - } + } + + Write-Host "After Override: $width x $height x $refresh" + return @{ + height = $height + width = $width + refresh = $refresh } }