Skip to content

Commit

Permalink
Merge pull request #101 from throwaway96/fix-icons-20240317
Browse files Browse the repository at this point in the history
Fix icons
  • Loading branch information
mariotaku authored Mar 18, 2024
2 parents ddd880f + 784934e commit 2103dd8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion repogen/apidata.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +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']['iconUrl'] = package['iconUri']
package['manifest']['iconUri'] = package['iconUri']
return package

packages_length = len(packages)
Expand Down
2 changes: 1 addition & 1 deletion repogen/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +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']['iconUrl'] = info['iconUri']
info['manifest']['iconUri'] = info['iconUri']
metadata = {
'title': info['title'],
'override_save_as': f'apps/{info["id"]}.html',
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pelican~=4.9.1
pelican~=4.8.0
pelican-webassets~=2.0.0
markdown~=3.6
pyyaml~=6.0
Expand All @@ -17,4 +17,4 @@ shellescape~=3.8.1
lxml~=5.1.0
debian-parser~=0.1.2
git+https://github.com/Kronuz/pyScss.git@60414f5d573315a8458b5fbcdf69e5c648c44a9a#egg=pyscss
git+https://github.com/webosbrew/[email protected]#egg=pelican-theme-webosbrew
git+https://github.com/webosbrew/[email protected]#egg=pelican-theme-webosbrew

0 comments on commit 2103dd8

Please sign in to comment.