Remove the 'LogoSize' Parameter for About page - Make every sponsor in the sponsors list a link to ChrisTitusTech's Sponsors web link

This commit is contained in:
Mr.k 2024-10-07 16:58:54 +03:00
parent b001842a61
commit cb21a39f62
No known key found for this signature in database

View File

@ -596,7 +596,7 @@ GitHub : <a href="https://github.com/ChrisTitusTech/winutil">ChrisTitusTech/wi
Version : <a href="https://github.com/ChrisTitusTech/winutil/releases/tag/$($sync.version)">$($sync.version)</a> Version : <a href="https://github.com/ChrisTitusTech/winutil/releases/tag/$($sync.version)">$($sync.version)</a>
"@ "@
Show-CustomDialog -Message $authorInfo -LogoSize $LogoSize Show-CustomDialog -Message $authorInfo
}) })
$sync["SponsorMenuItem"].Add_Click({ $sync["SponsorMenuItem"].Add_Click({
@ -612,7 +612,9 @@ $sync["SponsorMenuItem"].Add_Click({
$sponsors = Invoke-WinUtilSponsors $sponsors = Invoke-WinUtilSponsors
# Append the sponsors to the authorInfo # Append the sponsors to the authorInfo
$sponsors | ForEach-Object { $authorInfo += "$_`n" } foreach ($sponsor in $sponsors) {
$authorInfo += "<a href=`"https://github.com/sponsors/ChrisTitusTech`">$sponsor</a>`n"
}
} catch { } catch {
$authorInfo += "An error occurred while fetching or processing the sponsors: $_`n" $authorInfo += "An error occurred while fetching or processing the sponsors: $_`n"
} }