feat(logo): add all logo assets

This commit is contained in:
Haoyu Xu
2021-08-02 18:04:35 -04:00
parent 439c24abeb
commit 4ad4dfd01b
5 changed files with 8 additions and 4 deletions

View File

@@ -197,7 +197,6 @@ class Builder:
operator_release_path.mkdir()
release_operator_assets_path.mkdir()
for file in operator_assets_path.iterdir():
if file.is_file() is True:
filename = file.name

View File

@@ -20,6 +20,7 @@ class Config:
common_name=str,
fallback_name=str,
release_folder=str,
logo_name=str,
project_json=str,
preview=str,
use_skel=bool,

View File

@@ -11,7 +11,8 @@ class HtmlProcessor:
content = f.read()
return content.format(
title=self.config["operators"][operator]["title"],
version=self.__get_version()
version=self.__get_version(),
operator_logo=self.config["operators"][operator]["logo_name"]
)
def build(self, operator, source_path, target_path):