mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55:52 -06:00
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:
parent
b001842a61
commit
cb21a39f62
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user