mirror of
https://github.com/dkhamsing/open-source-ios-apps.git
synced 2024-11-27 10:14:59 +03:00
[script] support sponsor #568
This commit is contained in:
parent
ebaa6e7e01
commit
7a5ec92b49
9
.github/osia_convert.rb
vendored
9
.github/osia_convert.rb
vendored
@ -213,6 +213,8 @@ def write_list(j, file, appstoreonly = false)
|
||||
cats = j['categories']
|
||||
apps = j['projects']
|
||||
|
||||
sponsor = j['sponsor']
|
||||
|
||||
output = '# ' + t
|
||||
output << "\n\n"
|
||||
output << desc
|
||||
@ -220,6 +222,13 @@ def write_list(j, file, appstoreonly = false)
|
||||
if appstoreonly == false
|
||||
output << "\n\n#{subt}\n\n"
|
||||
output << output_badges(apps.count)
|
||||
|
||||
unless sponsor.length == 0
|
||||
output << "\n\n"
|
||||
output << sponsor
|
||||
output << "\n"
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
output << "\n\nJump to\n\n"
|
||||
|
Loading…
Reference in New Issue
Block a user