insert_funding_yml_donation_links: support polar

This commit is contained in:
linsui 2024-04-10 18:58:16 +08:00
parent c23af7984c
commit d62b8cc2ed
1 changed files with 5 additions and 0 deletions

View File

@ -902,6 +902,11 @@ def insert_funding_yml_donation_links(apps):
if s:
app['Donate'] = 'https://www.buymeacoffee.com/' + s
break
elif k == 'polar':
s = sanitize_funding_yml_name(v)
if s:
app['Donate'] = 'https://polar.sh/' + s
break
def copy_triple_t_store_metadata(apps):