Skip to content

Commit

Permalink
updates manifest body
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Mar 16, 2024
1 parent 750b317 commit 9dc317a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions repogen/apidata.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def package_item(p_info: PackageInfo, in_apps_dir: bool):
package['fullDescriptionUrl'] = f'apps/{p_info["id"]}/full_description.html'
if os.environ.get('CI'):
package['iconUri'] = obtain_icon(package['id'], p_info["iconUri"], site_url)
package['manifest']['iconUri'] = package['iconUri']
return package

packages_length = len(packages)
Expand Down
1 change: 1 addition & 0 deletions repogen/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def __init__(self, *args, **kwargs):
def read(self, filename: str):
info = pkg_info.from_package_info_file(Path(filename), offline='CI' not in os.environ)
info['iconUri'] = obtain_icon(info['id'], info['iconUri'], self.settings['SITEURL'])
info['manifest']['iconUri'] = info['iconUri']
metadata = {
'title': info['title'],
'override_save_as': f'apps/{info["id"]}.html',
Expand Down
14 changes: 7 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
pelican~=4.8.0
pelican~=4.9.1
pelican-webassets~=2.0.0
markdown~=3.4.1
markdown~=3.6
pyyaml~=6.0
pystache~=0.6.5
more_itertools~=10.1.0
nh3~=0.2.3
more_itertools~=10.2.0
nh3~=0.2.15
requests~=2.31.0
webassets~=2.0
cssmin~=0.2.0
livereload~=2.6.3
invoke~=2.2.0
ar~=0.3.2
jsonschema~=4.19.1
ar~=0.8
jsonschema~=4.21.1
semantic-version~=2.10.0
shellescape~=3.8.1
lxml~=4.9.2
lxml~=5.1.0
debian-parser~=0.1.2
git+https://github.com/Kronuz/pyScss.git@60414f5d573315a8458b5fbcdf69e5c648c44a9a#egg=pyscss
git+https://github.com/webosbrew/pelican-theme-webosbrew.git@v1.0.9#egg=pelican-theme-webosbrew

0 comments on commit 9dc317a

Please sign in to comment.