@@ -1065,7 +1065,6 @@ installing:
10651065 GetTempFileName $mirrorINI $PLUGINSDIR
10661066 File /oname= $mirrorINI " Dialogs\PickMirror.ini"
10671067 GetTempFileName $finishINI $PLUGINSDIR
1068- ; File /oname=$PLUGINSDIR\donate.bmp "Dialogs\donate.bmp"
10691068
10701069 IntCmp $Updating 1 +1 first_install
10711070
@@ -1657,12 +1656,36 @@ done:
16571656
16581657FunctionEnd
16591658
1659+ var donation
1660+
16601661; -----------------------------------------------------------------------------------------------------------------------
16611662Function Donate
16621663; -----------------------------------------------------------------------------------------------------------------------
1663- ExecShell " open" " https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=donations%40devkitpro%2eorg&item_name=devkitPro%20donation&item_number=002&amount=5%2e00&no_shipping=0&return=http%3a%2f%2fwww%2edevkitpro%2eorg%2fthanks%2ephp&cancel_return=http%3a%2f%2fwww%2edevkitpro%2eorg%2fsupport%2ddevkitpro%2f&tax=0¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8"
1664+ pop $donation
1665+ ExecShell " open" " https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=donations%40devkitpro%2eorg&item_name=devkitPro%20donation&item_number=002&amount=$donation%2e00&no_shipping=0&return=http%3a%2f%2fwww%2edevkitpro%2eorg%2fthanks%2ephp&cancel_return=http%3a%2f%2fwww%2edevkitpro%2eorg%2fsupport%2ddevkitpro%2f&tax=0¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8"
1666+ FunctionEnd
1667+
1668+
1669+ ; -----------------------------------------------------------------------------------------------------------------------
1670+ Function Donate5
1671+ ; -----------------------------------------------------------------------------------------------------------------------
1672+ push 5
1673+ call Donate
16641674FunctionEnd
16651675
1676+ ; -----------------------------------------------------------------------------------------------------------------------
1677+ Function Donate10
1678+ ; -----------------------------------------------------------------------------------------------------------------------
1679+ push 10
1680+ call Donate
1681+ FunctionEnd
1682+
1683+ ; -----------------------------------------------------------------------------------------------------------------------
1684+ Function Donate20
1685+ ; -----------------------------------------------------------------------------------------------------------------------
1686+ push 20
1687+ call Donate
1688+ FunctionEnd
16661689; -----------------------------------------------------------------------------------------------------------------------
16671690Function WhyDonate
16681691; -----------------------------------------------------------------------------------------------------------------------
@@ -1699,17 +1722,30 @@ Function FinishPage
16991722 IntCmp $Updating 1 +1 ShowPage ShowPage
17001723 IntCmp $Updates 0 Showpage +1 +1
17011724
1702- ${NSD_CreateLabel} 134u 120u 162u 12u " Help keep devkitPro toolchains free"
1725+ ${NSD_CreateLabel} 140u 120u 162u 12u " Help keep devkitPro toolchains free"
17031726 Pop $R0
17041727 SetCtlColors $R0 " 000080" " FFFFFF"
17051728 CreateFont $R1 " (^Font)" " 10" " 700"
17061729 SendMessage $R0 ${WM_SETFONT} $R1 1
17071730
1708- ${NSD_CreateButton} 164u 134u 102u 18u " Donate $$5 now"
1731+ ${NSD_CreateButton} 120u 134u 50u 18u " $$5"
1732+ pop $R0
1733+ CreateFont $R1 " (^Font)" " 12" " 700"
1734+ SendMessage $R0 ${WM_SETFONT} $R1 1
1735+ ${NSD_OnClick} $R0 Donate5
1736+
1737+ ${NSD_CreateButton} 190u 134u 50u 18u " $$10"
17091738 pop $R0
17101739 CreateFont $R1 " (^Font)" " 12" " 700"
17111740 SendMessage $R0 ${WM_SETFONT} $R1 1
1712- ${NSD_OnClick} $R0 Donate
1741+ ${NSD_OnClick} $R0 Donate10
1742+
1743+ ${NSD_CreateButton} 260u 134u 50u 18u " $$20"
1744+ pop $R0
1745+ CreateFont $R1 " (^Font)" " 12" " 700"
1746+ SendMessage $R0 ${WM_SETFONT} $R1 1
1747+ ${NSD_OnClick} $R0 Donate20
1748+
17131749
17141750 ${NSD_CreateLink} 190u 154u 76u 12u " Why Donate?"
17151751 pop $R0
0 commit comments