mirror of
https://github.com/esphome/esphome.git
synced 2026-09-28 15:30:21 +00:00
@@ -514,15 +514,15 @@ def get_download_types(storage_json: StorageJSON) -> list[dict[str, str]]:
|
|||||||
"download": f"{storage_json.name}.hex",
|
"download": f"{storage_json.name}.hex",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
if (build_dir / APP_IMAGE_PATH).is_file():
|
if (build_dir / APP_IMAGE_PATH).is_file():
|
||||||
types += [
|
types += [
|
||||||
{
|
{
|
||||||
"title": "App update package",
|
"title": "App update package",
|
||||||
"description": "For flashing via mcumgr-web using BLE or smpclient using USB CDC.",
|
"description": "For flashing via mcumgr-web using BLE or smpclient using USB CDC.",
|
||||||
"file": APP_IMAGE_PATH,
|
"file": APP_IMAGE_PATH,
|
||||||
"download": f"app-{storage_json.name}.img",
|
"download": f"app-{storage_json.name}.img",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
return types
|
return types
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user