From cb21a39f6221f6151335c98c1682df54af1cfc21 Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Mon, 7 Oct 2024 16:58:54 +0300 Subject: [PATCH] Remove the 'LogoSize' Parameter for About page - Make every sponsor in the sponsors list a link to ChrisTitusTech's Sponsors web link --- scripts/main.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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" }