同步修改元数据标识

This commit is contained in:
wangsong 2024-01-24 11:13:47 +08:00
parent 22c57952bb
commit 8f830ef08b
1 changed files with 13 additions and 5 deletions

View File

@ -135,14 +135,22 @@ class UpdateManager():
output_config_name = output_path + SYSTEM_UPDATE_GROUPS + '.json'
groups_base_info.update({"package":SYSTEM_UPDATE_GROUPS})
groups_base_info.update({"new_version":data.setdefault("new_version","")})
groups_base_info.update({"name":data.setdefault("name","")})
# groups_base_info.update({"package":SYSTEM_UPDATE_GROUPS})
# groups_base_info.update({"new_version":data.setdefault("new_version","")})
# groups_base_info.update({"name":data.setdefault("name","")})
# groups_base_info.update({"description":data.setdefault("description","")})
# groups_base_info.update({"icon":data.setdefault("icon","")})
# groups_base_info.update({"total_download_size":data.setdefault("total_download_size","")})
# groups_base_info.update({"total_install_size":data.setdefault("total_install_size","")})
# groups_base_info.update({"changelog":data.setdefault("changelog","")})
groups_base_info.update({"version":data.setdefault("version","")})
groups_base_info.update({"update-type":data.setdefault("update-type","")})
groups_base_info.update({"update-name":data.setdefault("update-name","")})
groups_base_info.update({"description":data.setdefault("description","")})
groups_base_info.update({"icon":data.setdefault("icon","")})
groups_base_info.update({"changelog":data.setdefault("changelog","")})
groups_base_info.update({"total_download_size":data.setdefault("total_download_size","")})
groups_base_info.update({"total_install_size":data.setdefault("total_install_size","")})
groups_base_info.update({"changelog":data.setdefault("changelog","")})
groups_base_info.update({"icon":data.setdefault("icon","/usr/share/upgrade/icon/kylin-update-desktop-system.png")})
output_json.update(groups_base_info)