diff --git a/scripts/main.ps1 b/scripts/main.ps1
index af853a7e..1457e43d 100644
--- a/scripts/main.ps1
+++ b/scripts/main.ps1
@@ -596,7 +596,7 @@ GitHub : ChrisTitusTech/wi
Version : $($sync.version)
"@
- Show-CustomDialog -Message $authorInfo -LogoSize $LogoSize
+ Show-CustomDialog -Message $authorInfo
})
$sync["SponsorMenuItem"].Add_Click({
@@ -612,7 +612,9 @@ $sync["SponsorMenuItem"].Add_Click({
$sponsors = Invoke-WinUtilSponsors
# Append the sponsors to the authorInfo
- $sponsors | ForEach-Object { $authorInfo += "$_`n" }
+ foreach ($sponsor in $sponsors) {
+ $authorInfo += "$sponsor`n"
+ }
} catch {
$authorInfo += "An error occurred while fetching or processing the sponsors: $_`n"
}